mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 23:29:44 -06:00
IOS/Network: Handle SO_ENOMEM
This commit is contained in:
@ -80,6 +80,9 @@ static s32 TranslateErrorCode(s32 native_error, bool isRW)
|
|||||||
return -SO_ENETUNREACH;
|
return -SO_ENETUNREACH;
|
||||||
case ERRORCODE(EHOSTUNREACH):
|
case ERRORCODE(EHOSTUNREACH):
|
||||||
return -SO_EHOSTUNREACH;
|
return -SO_EHOSTUNREACH;
|
||||||
|
case ENOMEM: // See man (7) ip
|
||||||
|
case ERRORCODE(ENOBUFS):
|
||||||
|
return -SO_ENOMEM;
|
||||||
case EITHER(WSAEWOULDBLOCK, EAGAIN):
|
case EITHER(WSAEWOULDBLOCK, EAGAIN):
|
||||||
if (isRW)
|
if (isRW)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user