diff options
author | Luke Leighton <lkcl@samba.org> | 1998-11-13 01:38:41 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-11-13 01:38:41 +0000 |
commit | cb265dbb8b73a177d9e7fd52e53f1eba487b94d4 (patch) | |
tree | c717f798f4d099f95afd8d52deb5bfa5f44044b6 /source3/include/smb.h | |
parent | 31c4953088c20de1eb292f47c87c70e38ca574ea (diff) | |
download | samba-cb265dbb8b73a177d9e7fd52e53f1eba487b94d4.tar.gz samba-cb265dbb8b73a177d9e7fd52e53f1eba487b94d4.tar.xz samba-cb265dbb8b73a177d9e7fd52e53f1eba487b94d4.zip |
security descriptors
(This used to be commit 9412edfd4c11a26e4ef290839375e3959cf70a7e)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r-- | source3/include/smb.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 4f064d27d18..9339cdda6f0 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1655,11 +1655,7 @@ extern int unix_ERR_code; #define ZERO_STRUCT(x) memset((char *)&(x), 0, sizeof(x)) /* zero a structure given a pointer to the structure */ -#if 0 -#define ZERO_STRUCTP(x) { } -#else -#define ZERO_STRUCTP(x) { if (x != NULL) memset((char *)(x), 0, sizeof(*(x))); } -#endif +#define ZERO_STRUCTP(x) { memset((char *)(x), 0, sizeof(*(x))); } #define ZERO_STRUCTPN(x) { if (x != NULL) ZERO_STRUCTP(x); } |