diff options
Diffstat (limited to 'daemon/ntlmssp.c')
-rw-r--r-- | daemon/ntlmssp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/ntlmssp.c b/daemon/ntlmssp.c index ca8c5a8..1b51264 100644 --- a/daemon/ntlmssp.c +++ b/daemon/ntlmssp.c @@ -239,7 +239,7 @@ ntlm_msg3_getusername(unsigned char *raw_msg, unsigned msglen, return 16; else { /* Win9x client leave username in uppercase...fix it: */ - while (*username!=(unsigned char)NULL) { + while (*username!=(unsigned char)0) { c=tolower((int)*username); *username=(unsigned char)c; username++; |