diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb_macros.h | 8 |
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 |