socketpair.c one more

This commit is contained in:
Viktor Szakats 2026-06-08 02:27:30 +02:00
parent 3951d0489d
commit 7bb5a096e9
No known key found for this signature in database

View file

@ -240,7 +240,7 @@ static int wakeup_inet(curl_socket_t socks[2], bool nonblocking)
/* errno may be EWOULDBLOCK or on some systems EAGAIN when it
returned due to its inability to send off data without
blocking. We therefore treat both error codes the same here */
(SOCKEWOULDBLOCK == sockerr) || (EAGAIN == sockerr) ||
SOCK_EAGAIN_EWOULDBLOCK(sockerr) ||
(SOCKEINTR == sockerr) || (SOCKEINPROGRESS == sockerr)
#endif
) {