1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00

Always initialise this - it helps callers who use this in a loop...

Andrew Bartlett
(This used to be commit 97bc047434284527f25e130a72981da704ed1212)
This commit is contained in:
Andrew Bartlett 2003-05-07 23:09:18 +00:00
parent a0af88e8c1
commit 5f86a4a85f

View File

@ -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);