[PING]
authorCameron Gutman <aicommander@gmail.com>
Wed, 14 Jul 2010 19:32:03 +0000 (19:32 +0000)
committerCameron Gutman <aicommander@gmail.com>
Wed, 14 Jul 2010 19:32:03 +0000 (19:32 +0000)
- Fix a bug in the lost packet counter code which could result in a negative received value

svn path=/trunk/; revision=48046

reactos/base/applications/network/ping/ping.c

index b2d48ca..19aa099 100644 (file)
@@ -555,7 +555,6 @@ static BOOL Ping(VOID)
     }
     if (Status == SOCKET_ERROR)
     {
-        LostCount++;
         if (WSAGetLastError() == WSAEHOSTUNREACH)
             printf("Destination host unreachable.\n");
         else