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:
6cdc717
)
r5550: Initialise retry count - valgrind was freaking out because this value
author
Tim Potter
<tpot@samba.org>
Fri, 25 Feb 2005 04:59:46 +0000
(
04:59
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:10:54 +0000
(13:10 -0500)
was not set.
source/libcli/resolve/nbtlist.c
patch
|
blob
|
history
diff --git
a/source/libcli/resolve/nbtlist.c
b/source/libcli/resolve/nbtlist.c
index 89e9a63748d80a9db0933b0151521c1d28a2febf..d5b01e06d933aabfd869a3b01933ae0311768a26 100644
(file)
--- a/
source/libcli/resolve/nbtlist.c
+++ b/
source/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;