mirror of
https://github.com/curl/curl.git
synced 2026-06-14 07:55:43 +03:00
cleanup
This commit is contained in:
parent
238a0ddd17
commit
0dae05b0b5
1 changed files with 1 additions and 1 deletions
|
|
@ -939,7 +939,7 @@ static bool verifyconnect(curl_socket_t sockfd, int *error)
|
|||
static CURLcode socket_connect_result(struct Curl_easy *data,
|
||||
const char *ipaddress, int error)
|
||||
{
|
||||
if(SOCK_EAGAIN(error) || error == SOCKEINPROGRESS)
|
||||
if(error == SOCKEINPROGRESS || SOCK_EAGAIN(error))
|
||||
return CURLE_OK;
|
||||
|
||||
/* unknown error, fallthrough and try another address! */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue