netbiosns_name_decode: Take CONST char* as first argument

This commit is contained in:
Dirk Ziegelmeier 2018-11-21 21:03:36 +01:00
parent b0c753da96
commit 10e0130a4a

View File

@ -240,9 +240,9 @@ static struct udp_pcb *netbiosns_pcb;
/** Decode a NetBIOS name (from packet to string) */
static int
netbiosns_name_decode(char *name_enc, char *name_dec, int name_dec_len)
netbiosns_name_decode(const char *name_enc, char *name_dec, int name_dec_len)
{
char *pname;
const char *pname;
char cname;
char cnbname;
int idx = 0;