summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-02-29 22:33:35 +0100
committerVolker Lendecke <vl@samba.org>2008-02-29 22:39:45 +0100
commit45615d62838123bdf620a9c409d9868d47977800 (patch)
treee1dcb855e7b9099f4b1b6e192e0e031049ee70c8 /source3
parentc5249935d49456c58beac32565402212e98421d4 (diff)
downloadsamba-45615d62838123bdf620a9c409d9868d47977800.tar.gz
samba-45615d62838123bdf620a9c409d9868d47977800.tar.bz2
samba-45615d62838123bdf620a9c409d9868d47977800.zip
Check the right variable for being NULL
(This used to be commit f2c67803792f1fd3929e922c1f626f8247e08992)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/ntlmssp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/ntlmssp.c b/source3/libsmb/ntlmssp.c
index 35c20ed647..8355669d9f 100644
--- a/source3/libsmb/ntlmssp.c
+++ b/source3/libsmb/ntlmssp.c
@@ -571,7 +571,7 @@ static NTSTATUS ntlmssp_server_negotiate(struct ntlmssp_state *ntlmssp_state,
strlower_m(dnsdomname);
dnsname = get_mydnsfullname();
- if (!dnsdomname) {
+ if (!dnsname) {
return NT_STATUS_INVALID_COMPUTER_NAME;
}