mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed #4
This commit is contained in:
parent
11e25caa87
commit
f418c331c7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user