From: Volker Lendecke Date: Sat, 24 Apr 2010 08:49:06 +0000 (+0200) Subject: s3: Simplify (bool != True) to !bool X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=678a3c4e6dd68f3b2f81a3ad381be017e15de44d;p=kamenim%2Fsamba.git s3: Simplify (bool != True) to !bool --- diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c index 935810bf3e..cd8d6a26e8 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 )); }