diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-07-13 09:18:55 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-07-13 09:18:55 +0000 |
commit | d7bdcee189dabc1301284655751b8022dde03ebb (patch) | |
tree | 8a271b535232a3bc7b44043e92a14b8093390a9f | |
parent | 04538bfb6c0196bb0a121ad2caead5448e1186da (diff) | |
download | samba-d7bdcee189dabc1301284655751b8022dde03ebb.tar.gz samba-d7bdcee189dabc1301284655751b8022dde03ebb.tar.bz2 samba-d7bdcee189dabc1301284655751b8022dde03ebb.zip |
make this a ZERO_STRUCTP for consitancy with the rest of Samba.
(This used to be commit 587a3d91b7226f4e96c4320322f62c6490a3c6ac)
-rw-r--r-- | source3/lib/util_sid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c index 3293026c7d..5dd1d75c70 100644 --- a/source3/lib/util_sid.c +++ b/source3/lib/util_sid.c @@ -327,7 +327,7 @@ void sid_copy(DOM_SID *dst, const DOM_SID *src) { int i; - memset((char *)dst, '\0', sizeof(DOM_SID)); + ZERO_STRUCTP(dst); dst->sid_rev_num = src->sid_rev_num; dst->num_auths = src->num_auths; |