mirror of
https://github.com/curl/curl.git
synced 2026-07-30 19:18:09 +03:00
maybe
This commit is contained in:
parent
6e4aa6600a
commit
3951d0489d
1 changed files with 1 additions and 3 deletions
|
|
@ -942,14 +942,12 @@ static CURLcode socket_connect_result(struct Curl_easy *data,
|
|||
switch(error) {
|
||||
case SOCKEINPROGRESS:
|
||||
case SOCKEWOULDBLOCK:
|
||||
#ifdef EAGAIN
|
||||
#if (EAGAIN) != (SOCKEWOULDBLOCK)
|
||||
#if defined(EAGAIN) && EAGAIN != SOCKEWOULDBLOCK
|
||||
/* On some platforms EAGAIN and EWOULDBLOCK are the
|
||||
* same value, and on others they are different, hence
|
||||
* the odd #if
|
||||
*/
|
||||
case EAGAIN:
|
||||
#endif
|
||||
#endif
|
||||
return CURLE_OK;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue