mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 04:13:32 +00:00
Do not divide by zero.
svn path=/trunk/; revision=26805
This commit is contained in:
@@ -606,7 +606,7 @@ int main(int argc, char* argv[])
|
||||
}
|
||||
|
||||
/* Calculate loss percent */
|
||||
Count = (LostCount * 100) / SentCount;
|
||||
Count = SentCount ? (LostCount * 100) / SentCount : 0;
|
||||
|
||||
if (!MinRTTSet)
|
||||
MinRTT = MaxRTT;
|
||||
|
||||
Reference in New Issue
Block a user