[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Wed Apr 18 05:40:02 MDT 2012


The branch, master has been updated
       via  536c4a4 libsmb: Actually use an introduced variable
      from  c4c8845 Talloc doc: Fix a cut&paste error

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 536c4a41a173beb9f58aa15cc612c115f240d979
Author: Volker Lendecke <vl at samba.org>
Date:   Wed Apr 18 11:49:35 2012 +0200

    libsmb: Actually use an introduced variable
    
    Autobuild-User: Volker Lendecke <vl at samba.org>
    Autobuild-Date: Wed Apr 18 13:39:53 CEST 2012 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 source3/libsmb/ntlmssp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/libsmb/ntlmssp.c b/source3/libsmb/ntlmssp.c
index 66e7102..95a5dc9 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;
 	}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list