From 678a3c4e6dd68f3b2f81a3ad381be017e15de44d Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 24 Apr 2010 10:49:06 +0200 Subject: s3: Simplify (bool != True) to !bool --- source3/smbd/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )); } -- cgit