netapi32: Constify a variable
Andrew Talbot
Andrew.Talbot at talbotville.com
Mon Feb 19 10:35:42 CST 2007
Changelog:
netapi32: Constify a variable.
diff -urN a/dlls/netapi32/nbt.c b/dlls/netapi32/nbt.c
--- a/dlls/netapi32/nbt.c 2006-10-12 21:30:50.000000000 +0100
+++ b/dlls/netapi32/nbt.c 2007-02-19 16:16:05.000000000 +0000
@@ -1028,7 +1028,7 @@
ret = NRC_CMDTMO;
else
{
- static UCHAR fakedCalledName[] = "*SMBSERVER";
+ static const UCHAR fakedCalledName[] = "*SMBSERVER";
const UCHAR *calledParty = cacheEntry->nbname[0] == '*'
? fakedCalledName : cacheEntry->nbname;
More information about the wine-patches
mailing list