summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-04-18 11:49:35 +0200
committerVolker Lendecke <vl@samba.org>2012-04-18 13:39:53 +0200
commit536c4a41a173beb9f58aa15cc612c115f240d979 (patch)
tree2dd13c35daba6b662ee8211e18b628b144cf33e8 /source3/libsmb
parentc4c8845930bf4a89e93f63d201de577ed36d5775 (diff)
downloadsamba-536c4a41a173beb9f58aa15cc612c115f240d979.tar.gz
samba-536c4a41a173beb9f58aa15cc612c115f240d979.tar.bz2
samba-536c4a41a173beb9f58aa15cc612c115f240d979.zip
libsmb: Actually use an introduced variable
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Apr 18 13:39:53 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/ntlmssp.c4
1 files changed, 2 insertions, 2 deletions
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;
}