git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec8d652
)
Merge from HEAD - always initailise this to zero - helps callers in loops.
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 24 Apr 2003 13:55:51 +0000
(13:55 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 24 Apr 2003 13:55:51 +0000
(13:55 +0000)
source/rpc_client/cli_samr.c
patch
|
blob
|
history
diff --git
a/source/rpc_client/cli_samr.c
b/source/rpc_client/cli_samr.c
index 9d0b48796c0b88f19db60f4a4ed050051581435d..fa4c662e04524b4c42608f906ea7bb5c29d3c082 100644
(file)
--- a/
source/rpc_client/cli_samr.c
+++ b/
source/rpc_client/cli_samr.c
@@
-571,6
+571,9
@@
NTSTATUS cli_samr_enum_dom_users(struct cli_state *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(q);
ZERO_STRUCT(r);
+ /* always init this */
+ *num_dom_users = 0;
+
/* Initialise parse structures */
prs_init(&qbuf, MAX_PDU_FRAG_LEN, mem_ctx, MARSHALL);