mirror of
https://github.com/libretro/RetroArch
synced 2025-03-06 13:13:57 +00:00
Merge pull request #3628 from GregorR/network-send-blocking-fix
Fix socket_send_all_blocking to fail on errors not related to blocking
This commit is contained in:
commit
4ceb53207f
@ -164,7 +164,7 @@ int socket_send_all_blocking(int fd, const void *data_, size_t size,
|
||||
no_signal ? MSG_NOSIGNAL : 0);
|
||||
if (ret <= 0)
|
||||
{
|
||||
if (!isagain(ret))
|
||||
if (isagain(ret))
|
||||
continue;
|
||||
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user