From 536c4a41a173beb9f58aa15cc612c115f240d979 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 18 Apr 2012 11:49:35 +0200 Subject: libsmb: Actually use an introduced variable Autobuild-User: Volker Lendecke Autobuild-Date: Wed Apr 18 13:39:53 CEST 2012 on sn-devel-104 --- source3/libsmb/ntlmssp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/libsmb') diff --git a/source3/libsmb/ntlmssp.c b/source3/libsmb/ntlmssp.c index 66e7102aef..95a5dc9ccb 100644 --- a/source3/libsmb/ntlmssp.c +++ b/source3/libsmb/ntlmssp.c @@ -313,11 +313,11 @@ bool ntlmssp_is_anonymous(struct ntlmssp_state *ntlmssp_state) { const char *user = ntlmssp_state->user; - if (ntlmssp_state->user == NULL) { + if (user == NULL) { return true; } - if (strlen(ntlmssp_state->user) == 0) { + if (strlen(user) == 0) { return true; } -- cgit