1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

r5550: Initialise retry count - valgrind was freaking out because this value

was not set.
(This used to be commit 328f37a3e8d10f97f361fb041be24f1ac88b6b0a)
This commit is contained in:
Tim Potter 2005-02-25 04:59:46 +00:00 committed by Gerald (Jerry) Carter
parent 9401b2bbd2
commit 7fc5f4a6f7

View File

@ -129,6 +129,7 @@ struct composite_context *resolve_name_nbtlist_send(struct nbt_name *name,
state->io_queries[i].in.wins_lookup = wins_lookup;
state->io_queries[i].in.timeout = lp_parm_int(-1, "nbt", "timeout", 3);
state->io_queries[i].in.retries = 0;
state->queries[i] = nbt_name_query_send(state->nbtsock, &state->io_queries[i]);
if (!state->queries[i]) goto failed;