summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2020-07-28 20:54:18 +0200
committerMarc Hoersken <info@marc-hoersken.de>2020-07-31 18:58:03 +0200
commit633c9478c91ff20887a9516139802e1042e6cf7a (patch)
tree1f22acc1576a6298f8cf01c5e102551c67c14f36
parent3ee7c676ec8ef32e3a9cb4d0fb2929a8335d58db (diff)
downloadcurl-633c9478c91ff20887a9516139802e1042e6cf7a.tar.gz
connect: remove redundant message about connect failure
Reviewed-by: Daniel Stenberg Closes #5708
-rw-r--r--lib/connect.c4
1 files 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