From: Marc Hoersken Date: Tue, 28 Jul 2020 18:54:18 +0000 (+0200) Subject: connect: remove redundant message about connect failure X-Git-Tag: curl-7_72_0~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=633c9478c91ff20887a9516139802e1042e6cf7a;p=thirdparty%2Fcurl.git connect: remove redundant message about connect failure Reviewed-by: Daniel Stenberg Closes #5708 --- diff --git a/lib/connect.c b/lib/connect.c index 29293f0874..bb30aa62c5 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -934,10 +934,10 @@ CURLcode Curl_is_connected(struct connectdata *conn, return CURLE_OK; } - infof(data, "Connection failed\n"); } - else if(rc & CURL_CSELECT_ERR) + else if(rc & CURL_CSELECT_ERR) { (void)verifyconnect(conn->tempsock[i], &error); + } /* * The connection failed here, we should attempt to connect to the "next