mirror of
https://github.com/curl/curl.git
synced 2026-07-28 04:03:14 +03:00
silence 2
This commit is contained in:
parent
3cdc2935cd
commit
935c7245de
1 changed files with 5 additions and 1 deletions
|
|
@ -356,7 +356,11 @@ CURLcode Curl_wakeup_consume(curl_socket_t socks[2], bool all)
|
|||
#else
|
||||
if(SOCKEINTR == SOCKERRNO)
|
||||
continue;
|
||||
if((SOCKERRNO == SOCKEWOULDBLOCK) || (SOCKERRNO == EAGAIN))
|
||||
if((SOCKERRNO == SOCKEWOULDBLOCK)
|
||||
#if EAGAIN != SOCKEWOULDBLOCK
|
||||
|| (SOCKERRNO == EAGAIN)
|
||||
#endif
|
||||
)
|
||||
break;
|
||||
#endif
|
||||
result = CURLE_READ_ERROR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue