Author: cgutman
Date: Wed Jul 14 19:32:03 2010
New Revision: 48046
URL:
http://svn.reactos.org/svn/reactos?rev=48046&view=rev
Log:
[PING]
- Fix a bug in the lost packet counter code which could result in a negative received
value
Modified:
trunk/reactos/base/applications/network/ping/ping.c
Modified: trunk/reactos/base/applications/network/ping/ping.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/ping/ping.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/ping/ping.c [iso-8859-1] Wed Jul 14 19:32:03
2010
@@ -555,7 +555,6 @@
}
if (Status == SOCKET_ERROR)
{
- LostCount++;
if (WSAGetLastError() == WSAEHOSTUNREACH)
printf("Destination host unreachable.\n");
else