[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-92-gf78f92a

Volker Lendecke vlendec at samba.org
Tue Sep 8 09:46:34 MDT 2009


The branch, master has been updated
       via  f78f92acfe2710f9f3ff11f9acea8c240f6cc5e6 (commit)
      from  4323c1321a1f498541b36169b1a34ea42824c397 (commit)

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


- Log -----------------------------------------------------------------
commit f78f92acfe2710f9f3ff11f9acea8c240f6cc5e6
Author: Andrew Klosterman <andrew.klosterman+samba_bugzilla at gmail.com>
Date:   Tue Sep 8 17:38:37 2009 +0200

    s3:smbd: Fix bug 6690, wrong error check

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

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


Changeset truncated at 500 lines:

diff --git a/source3/profile/profile.c b/source3/profile/profile.c
index 6d2d5ae..61b0a7c 100644
--- a/source3/profile/profile.c
+++ b/source3/profile/profile.c
@@ -227,7 +227,7 @@ bool profile_setup(struct messaging_context *msg_ctx, bool rdonly)
 	
 	profile_h = (struct profile_header *)shmat(shm_id, 0, 
 						   read_only?SHM_RDONLY:0);
-	if ((long)profile_p == -1) {
+	if ((long)profile_h == -1) {
 		DEBUG(0,("Can't attach to IPC area. Error was %s\n", 
 			 strerror(errno)));
 		return False;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list