git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97a0b24
)
oops, IS_BITS_CLR_ALL() macro was wrong!
author
Luke Leighton
<lkcl@samba.org>
Tue, 9 Mar 1999 01:17:42 +0000
(
01:17
+0000)
committer
Luke Leighton
<lkcl@samba.org>
Tue, 9 Mar 1999 01:17:42 +0000
(
01:17
+0000)
source/include/smb.h
patch
|
blob
|
history
diff --git
a/source/include/smb.h
b/source/include/smb.h
index daf617bd7f09090a21b252143279a9a0b1535c1f..1c1a16b5b46b3afca5904533008e9e4257e74da6 100644
(file)
--- a/
source/include/smb.h
+++ b/
source/include/smb.h
@@
-39,7
+39,7
@@
#define IS_BITS_SET_ALL(var,bit) (((var)&(bit))==(bit))
#define IS_BITS_SET_SOME(var,bit) (((var)&(bit))!=0)
-#define IS_BITS_CLR_ALL(var,bit) (((var)&(
~(bit)
))==0)
+#define IS_BITS_CLR_ALL(var,bit) (((var)&(
bit
))==0)
#define PTR_DIFF(p1,p2) ((ptrdiff_t)(((const char *)(p1)) - (const char *)(p2)))