mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 23:59:54 -06:00
getNetErrorCode on Linux should not display anything if ret >= 0
This commit is contained in:
@ -538,6 +538,9 @@ static int getNetErrorCode(int ret, std::string caller, bool isRW)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
if (ret >= 0)
|
||||||
|
return ret;
|
||||||
|
|
||||||
WARN_LOG(WII_IPC_NET, "%s failed with error %d: %s, ret= %d",
|
WARN_LOG(WII_IPC_NET, "%s failed with error %d: %s, ret= %d",
|
||||||
caller.c_str(), 0x1337, "hmm", ret);
|
caller.c_str(), 0x1337, "hmm", ret);
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user