diff options
author | Volker Lendecke <vl@samba.org> | 2010-04-24 10:49:06 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-04-24 10:50:12 +0200 |
commit | 678a3c4e6dd68f3b2f81a3ad381be017e15de44d (patch) | |
tree | 4fe0a90e741bf1135e445219dc2e2f96f3818520 /source3/smbd | |
parent | a796542a930dec93c2a747c4b015d8d650a081fd (diff) | |
download | samba-678a3c4e6dd68f3b2f81a3ad381be017e15de44d.tar.gz samba-678a3c4e6dd68f3b2f81a3ad381be017e15de44d.tar.bz2 samba-678a3c4e6dd68f3b2f81a3ad381be017e15de44d.zip |
s3: Simplify (bool != True) to !bool
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 )); } |