git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f592d0
)
Check the right variable for being NULL
author
Volker Lendecke
<vl@samba.org>
Fri, 29 Feb 2008 21:33:35 +0000
(22:33 +0100)
committer
Volker Lendecke
<vl@samba.org>
Fri, 29 Feb 2008 21:39:45 +0000
(22:39 +0100)
source/libsmb/ntlmssp.c
patch
|
blob
|
history
diff --git
a/source/libsmb/ntlmssp.c
b/source/libsmb/ntlmssp.c
index 35c20ed6475fe5306c00a0b025f79c9ad1993402..8355669d9fe3750f6bf28107869934366e00a50d 100644
(file)
--- a/
source/libsmb/ntlmssp.c
+++ b/
source/libsmb/ntlmssp.c
@@
-571,7
+571,7
@@
static NTSTATUS ntlmssp_server_negotiate(struct ntlmssp_state *ntlmssp_state,
strlower_m(dnsdomname);
dnsname = get_mydnsfullname();
- if (!dns
dom
name) {
+ if (!dnsname) {
return NT_STATUS_INVALID_COMPUTER_NAME;
}