summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-05-01 09:30:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:44 -0500
commit431a28a3151f6cb8f9e1de769da11a22c379d9d8 (patch)
treed07c2ce21e0f43eda9cef2d13f0c296b40dc07d9 /source3/include
parentfc396cb2202dadc9acf741957d2dc3420bd0a7ac (diff)
downloadsamba-431a28a3151f6cb8f9e1de769da11a22c379d9d8.tar.gz
samba-431a28a3151f6cb8f9e1de769da11a22c379d9d8.tar.bz2
samba-431a28a3151f6cb8f9e1de769da11a22c379d9d8.zip
r6548: Fix bug #2622 - remove DPTR_MASK as it makes no sense.
Jeremy. (This used to be commit 927681c8c4458c77de2622557f1465fd5ca1c28b)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb_macros.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h
index 6d1e382bb8..37e5a897cb 100644
--- a/source3/include/smb_macros.h
+++ b/source3/include/smb_macros.h
@@ -225,16 +225,10 @@ true if two IP addresses are equal
split_at_last_component(full_keyname, key_name, '\\', subkey_name)
/****************************************************************************
- Used by dptr_zero.
-****************************************************************************/
-
-#define DPTR_MASK ((uint32)(((uint32)1)<<31))
-
-/****************************************************************************
Return True if the offset is at zero.
****************************************************************************/
-#define dptr_zero(buf) ((IVAL(buf,1)&~DPTR_MASK) == 0)
+#define dptr_zero(buf) (IVAL(buf,1) == 0)
/*******************************************************************
copy an IP address from one buffer to another