dedupe comments

This commit is contained in:
Viktor Szakats 2026-06-12 23:07:30 +02:00
parent 0dae05b0b5
commit 17a823bdb5
No known key found for this signature in database
3 changed files with 3 additions and 9 deletions

View file

@ -232,9 +232,6 @@ static int wakeup_inet(curl_socket_t socks[2], bool nonblocking)
/* Do not block forever */
if(curlx_timediff_ms(curlx_now(), start) > (60 * 1000))
goto error;
/* The socket error may be EWOULDBLOCK or on some systems EAGAIN when
it returned due to its inability to read data without blocking.
We therefore treat both error codes the same here */
if(SOCK_EAGAIN(sockerr)
#ifndef USE_WINSOCK
|| (sockerr == SOCKEINTR) || (sockerr == SOCKEINPROGRESS)