diff --git a/lib/connect.c b/lib/connect.c index fe41fd128..672eb697d 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -785,7 +785,7 @@ CURLcode Curl_is_connected(struct connectdata *conn, else infof(data, "Connection failed\n"); } - else if((result & CURL_CSELECT_ERR) == CURL_CSELECT_ERR) + else if(result & CURL_CSELECT_ERR) (void)verifyconnect(conn->tempsock[i], &error); /*