git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04538bf
)
make this a ZERO_STRUCTP for consitancy with the rest of Samba.
author
Andrew Bartlett
<abartlet@samba.org>
Sat, 13 Jul 2002 09:18:55 +0000
(09:18 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Sat, 13 Jul 2002 09:18:55 +0000
(09:18 +0000)
(This used to be commit
587a3d91b7226f4e96c4320322f62c6490a3c6ac
)
source3/lib/util_sid.c
patch
|
blob
|
history
diff --git
a/source3/lib/util_sid.c
b/source3/lib/util_sid.c
index 3293026c7d143d412d1bb9b9c25e2522e3137e5b..5dd1d75c701f56e20bd563ca22063fc3088b0f40 100644
(file)
--- 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;