From 633c9478c91ff20887a9516139802e1042e6cf7a Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Tue, 28 Jul 2020 20:54:18 +0200 Subject: connect: remove redundant message about connect failure Reviewed-by: Daniel Stenberg Closes #5708 --- lib/connect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/connect.c b/lib/connect.c index 29293f087..bb30aa62c 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 -- cgit v1.2.1