mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
sys_net: properly return error in sendto
This commit is contained in:
parent
e5ce88f007
commit
ba29a37871
1 changed files with 2 additions and 2 deletions
|
@ -1037,9 +1037,9 @@ std::optional<s32> lv2_socket_native::sendto(s32 flags, const std::vector<u8>& b
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
get_last_error(!so_nbio && (flags & SYS_NET_MSG_DONTWAIT) == 0, connecting);
|
result = get_last_error(!so_nbio && (flags & SYS_NET_MSG_DONTWAIT) == 0, connecting);
|
||||||
#else
|
#else
|
||||||
get_last_error(!so_nbio && (flags & SYS_NET_MSG_DONTWAIT) == 0);
|
result = get_last_error(!so_nbio && (flags & SYS_NET_MSG_DONTWAIT) == 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (result)
|
if (result)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue