This commit is contained in:
Brian Ferguson 2012-09-15 22:24:53 -06:00
parent 11e25caa87
commit f418c331c7

View File

@ -133,7 +133,7 @@ DWORD WINAPI NetworkThreadProc(void* pParam)
IcmpCloseHandle(hIcmpFile);
ICMP_ECHO_REPLY* reply = (ICMP_ECHO_REPLY*)buffer;
value = (reply->Status == IP_REQ_TIMED_OUT) ? measure->timeoutValue : reply->RoundTripTime;
value = (reply->Status != IP_SUCCESS) ? measure->timeoutValue : reply->RoundTripTime;
}
HMODULE module = NULL;