From 7bb5a096e96c31be5c71524bd0ac752cdc8eb4cb Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 8 Jun 2026 02:27:30 +0200 Subject: [PATCH] socketpair.c one more --- lib/socketpair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/socketpair.c b/lib/socketpair.c index ee4b07725c..912c107f64 100644 --- a/lib/socketpair.c +++ b/lib/socketpair.c @@ -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 ) {