From 0dae05b0b57fd91cf82f679da2693e5deda4981a Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 12 Jun 2026 22:42:49 +0200 Subject: [PATCH] cleanup --- lib/cf-socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cf-socket.c b/lib/cf-socket.c index 66dc5eef85..7f534c2a34 100644 --- a/lib/cf-socket.c +++ b/lib/cf-socket.c @@ -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! */