svn commit: samba r5550 - in branches/SAMBA_4_0/source/libcli/resolve: .

tpot at samba.org tpot at samba.org
Fri Feb 25 04:59:46 GMT 2005


Author: tpot
Date: 2005-02-25 04:59:46 +0000 (Fri, 25 Feb 2005)
New Revision: 5550

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5550

Log:
Initialise retry count - valgrind was freaking out because this value
was not set.

Modified:
   branches/SAMBA_4_0/source/libcli/resolve/nbtlist.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/resolve/nbtlist.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/resolve/nbtlist.c	2005-02-25 02:22:57 UTC (rev 5549)
+++ branches/SAMBA_4_0/source/libcli/resolve/nbtlist.c	2005-02-25 04:59:46 UTC (rev 5550)
@@ -129,6 +129,7 @@
 		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;
 



More information about the samba-cvs mailing list