]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
connect: remove redundant message about connect failure
authorMarc Hoersken <info@marc-hoersken.de>
Tue, 28 Jul 2020 18:54:18 +0000 (20:54 +0200)
committerMarc Hoersken <info@marc-hoersken.de>
Fri, 31 Jul 2020 16:58:03 +0000 (18:58 +0200)
Reviewed-by: Daniel Stenberg
Closes #5708

lib/connect.c

index 29293f08745ed1822ac24dbb29d6541bcb54f41c..bb30aa62c5ce2021dc4980a2ed632beaa751125a 100644 (file)
@@ -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