Initialize client packet sent counter to zero

This commit is contained in:
Radim Kolar 2010-10-18 11:47:40 +02:00
parent e7f7549fb2
commit 0d3068f524
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version NEXT
fhostcmd: Fixed output of FSP_TRACE variable for Bourne style shells
correctly intialize to zero client packet sent statistic counter
Version 2.8.1b26 - 1 Oct 2009
fver now reports if server can process extra data in input packets.

View File

@ -254,7 +254,7 @@ static RETSIGTYPE client_intr (int signum)
void init_client (const char * host, unsigned short port, unsigned short myport)
{
busy_delay = idle_delay = target_delay;
stat_resends = stat_iresends = stat_dupes = stat_bad = stat_ok;
stat_resends = stat_iresends = stat_dupes = stat_bad = stat_ok = 0;
#ifdef HAVE_SRANDOMDEV
srandomdev();
#else