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 | 587a3d91b7226f4e96c4320322f62c6490a3c6ac (patch) | |
tree | bb7a500a80196a0577466875c5b6435bf96595e2 | |
parent | 62c56f97248109ca80cc155974584bea9704cd50 (diff) | |
download | samba-587a3d91b7226f4e96c4320322f62c6490a3c6ac.tar.gz samba-587a3d91b7226f4e96c4320322f62c6490a3c6ac.tar.xz samba-587a3d91b7226f4e96c4320322f62c6490a3c6ac.zip |
make this a ZERO_STRUCTP for consitancy with the rest of Samba.
-rw-r--r-- | source/lib/util_sid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/util_sid.c b/source/lib/util_sid.c index 3293026c7d1..5dd1d75c701 100644 --- a/source/lib/util_sid.c +++ b/source/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; |