Commit 01e33880 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

netapi32: Constify a variable.

parent a9d681c3
...@@ -1028,7 +1028,7 @@ static UCHAR NetBTCall(void *adapt, PNCB ncb, void **sess) ...@@ -1028,7 +1028,7 @@ static UCHAR NetBTCall(void *adapt, PNCB ncb, void **sess)
ret = NRC_CMDTMO; ret = NRC_CMDTMO;
else else
{ {
static UCHAR fakedCalledName[] = "*SMBSERVER"; static const UCHAR fakedCalledName[] = "*SMBSERVER";
const UCHAR *calledParty = cacheEntry->nbname[0] == '*' const UCHAR *calledParty = cacheEntry->nbname[0] == '*'
? fakedCalledName : cacheEntry->nbname; ? fakedCalledName : cacheEntry->nbname;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment