summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-02-25 04:59:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:10:54 -0500
commit7fc5f4a6f7bd7a0b5c66b019377ba4ad1bc110bb (patch)
tree74a025503adad3efa2d3aa792d6c3998dbaddf37
parent9401b2bbd218de29aa626d42d2e1894bd3d177c4 (diff)
downloadsamba-7fc5f4a6f7bd7a0b5c66b019377ba4ad1bc110bb.tar.gz
samba-7fc5f4a6f7bd7a0b5c66b019377ba4ad1bc110bb.tar.bz2
samba-7fc5f4a6f7bd7a0b5c66b019377ba4ad1bc110bb.zip
r5550: Initialise retry count - valgrind was freaking out because this value
was not set. (This used to be commit 328f37a3e8d10f97f361fb041be24f1ac88b6b0a)
-rw-r--r--source4/libcli/resolve/nbtlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libcli/resolve/nbtlist.c b/source4/libcli/resolve/nbtlist.c
index 89e9a63748..d5b01e06d9 100644
--- a/source4/libcli/resolve/nbtlist.c
+++ b/source4/libcli/resolve/nbtlist.c
@@ -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;