mirror of
https://github.com/samba-team/samba.git
synced 2025-10-23 11:33:16 +03:00
r5550: Initialise retry count - valgrind was freaking out because this value
was not set.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
6cdc717f3f
commit
328f37a3e8
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user