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:
b4645bf
)
Always initialise this - it helps callers who use this in a loop...
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 7 May 2003 23:09:18 +0000
(23:09 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 7 May 2003 23:09:18 +0000
(23:09 +0000)
Andrew Bartlett
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 767c6a12b25c2c526509838aeecf4d51fcbeb1da..4fe8fba7b0b63e6efc320a441fc587b7af255739 100644
(file)
--- a/
source/rpc_client/cli_samr.c
+++ b/
source/rpc_client/cli_samr.c
@@
-1000,6
+1000,8
@@
NTSTATUS cli_samr_query_dispinfo(struct cli_state *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(q);
ZERO_STRUCT(r);
+ *num_entries = 0;
+
/* Initialise parse structures */
prs_init(&qbuf, MAX_PDU_FRAG_LEN, mem_ctx, MARSHALL);