summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-03-09 01:17:42 +0000
committerLuke Leighton <lkcl@samba.org>1999-03-09 01:17:42 +0000
commit5db005007ab5f969293935da8f2ac90eeddbfea6 (patch)
tree30247de0b53d88dbfe32e089fcf377df3da05942 /source3/include
parentb6db424576c47ebd0ad1fcb31343a90a35889311 (diff)
downloadsamba-5db005007ab5f969293935da8f2ac90eeddbfea6.tar.gz
samba-5db005007ab5f969293935da8f2ac90eeddbfea6.tar.bz2
samba-5db005007ab5f969293935da8f2ac90eeddbfea6.zip
oops, IS_BITS_CLR_ALL() macro was wrong!
(This used to be commit a32a6f64b187e82f88eaccb6a2a88902be5cc4e0)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index daf617bd7f..1c1a16b5b4 100644
--- a/source3/include/smb.h
+++ b/source3/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)))