git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a796542
)
s3: Simplify (bool != True) to !bool
author
Volker Lendecke
<vl@samba.org>
Sat, 24 Apr 2010 08:49:06 +0000
(10:49 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sat, 24 Apr 2010 08:50:12 +0000
(10:50 +0200)
source3/smbd/dir.c
patch
|
blob
|
history
diff --git
a/source3/smbd/dir.c
b/source3/smbd/dir.c
index 935810bf3e0a12759254d9bce08b25b5184f90b9..cd8d6a26e8016a624120ae1dae9ea3f2826ea7b1 100644
(file)
--- 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 ));
}