mirror of
https://github.com/curl/curl.git
synced 2026-07-29 01:03:06 +03:00
drop defined(EAGAIN) checks everywhere
There was an unprotected unconditional use in src. Also in vquic and socketpair, on conditions.
This commit is contained in:
parent
670e3fc0fa
commit
8a192a5b70
4 changed files with 4 additions and 4 deletions
|
|
@ -942,7 +942,7 @@ static CURLcode socket_connect_result(struct Curl_easy *data,
|
|||
switch(error) {
|
||||
case SOCKEINPROGRESS:
|
||||
case SOCKEWOULDBLOCK:
|
||||
#if !defined(USE_WINSOCK) && defined(EAGAIN) && EAGAIN != SOCKEWOULDBLOCK
|
||||
#if !defined(USE_WINSOCK) && EAGAIN != SOCKEWOULDBLOCK
|
||||
/* On some platforms EAGAIN and EWOULDBLOCK are the
|
||||
* same value, and on others they are different, hence
|
||||
* the odd #if
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue