[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Sat Apr 24 02:50:27 MDT 2010


The branch, master has been updated
       via  678a3c4... s3: Simplify (bool != True) to !bool
      from  a796542... Implement oplocks within SMB2. Plumb into the existing SMB1 oplock system.

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


- Log -----------------------------------------------------------------
commit 678a3c4e6dd68f3b2f81a3ad381be017e15de44d
Author: Volker Lendecke <vl at samba.org>
Date:   Sat Apr 24 10:49:06 2010 +0200

    s3: Simplify (bool != True) to !bool

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

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


Changeset truncated at 500 lines:

diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c
index 935810b..cd8d6a2 100644
--- a/source3/smbd/dir.c
+++ b/source3/smbd/dir.c
@@ -260,7 +260,7 @@ static void dptr_close_internal(struct dptr_struct *dptr)
 	 * biased by one with respect to the bitmap.
 	 */
 
-	if(bitmap_query(sconn->smb1.searches.dptr_bmap, dptr->dnum - 1) != true) {
+	if (!bitmap_query(sconn->smb1.searches.dptr_bmap, dptr->dnum - 1)) {
 		DEBUG(0,("dptr_close_internal : Error - closing dnum = %d and bitmap not set !\n",
 			dptr->dnum ));
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list