summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-07-13 09:18:55 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-07-13 09:18:55 +0000
commit587a3d91b7226f4e96c4320322f62c6490a3c6ac (patch)
treebb7a500a80196a0577466875c5b6435bf96595e2
parent62c56f97248109ca80cc155974584bea9704cd50 (diff)
downloadsamba-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.c2
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;