Commit 0ca4ad0d authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

iphlpapi: Fix HRESULT/win32 error code confusion.

parent 59e0d7af
......@@ -693,7 +693,7 @@ DWORD WINAPI GetIcmpStatisticsEx(PMIB_ICMP_EX stats, DWORD family)
}
ret = GetIcmpStatistics(&ipv4stats);
if (SUCCEEDED(ret))
if (!ret)
{
stats->icmpInStats.dwMsgs = ipv4stats.stats.icmpInStats.dwMsgs;
stats->icmpInStats.dwErrors = ipv4stats.stats.icmpInStats.dwErrors;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment