Author: hpoussin
Date: Mon Jul 17 12:58:16 2006
New Revision: 23123
URL:
http://svn.reactos.org/svn/reactos?rev=23123&view=rev
Log:
Merge 22156 to branch.
Modified:
branches/ros-branch-0_3_0/reactos/base/applications/network/ping/ping.c
Modified: branches/ros-branch-0_3_0/reactos/base/applications/network/ping/ping.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_0/reactos/base/a…
==============================================================================
--- branches/ros-branch-0_3_0/reactos/base/applications/network/ping/ping.c (original)
+++ branches/ros-branch-0_3_0/reactos/base/applications/network/ping/ping.c Mon Jul 17
12:58:16 2006
@@ -606,11 +606,7 @@
}
/* Calculate loss percent */
- if (LostCount > 0) {
- Count = (SentCount * 100) / LostCount;
- } else {
- Count = 0;
- }
+ Count = (LostCount * 100) / SentCount;
if (!MinRTTSet)
MinRTT = MaxRTT;