From: Andrew Bartlett Date: Sat, 13 Jul 2002 09:18:55 +0000 (+0000) Subject: make this a ZERO_STRUCTP for consitancy with the rest of Samba. X-Git-Url: http://git.samba.org/samba.git/?p=kai%2Fsamba.git;a=commitdiff_plain;h=d7bdcee189dabc1301284655751b8022dde03ebb make this a ZERO_STRUCTP for consitancy with the rest of Samba. (This used to be commit 587a3d91b7226f4e96c4320322f62c6490a3c6ac) --- diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c index 3293026c7d1..5dd1d75c701 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;