diff options
-rw-r--r-- | lib/connect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/connect.c b/lib/connect.c index af98242c5..274f7b1e1 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -542,6 +542,7 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */ /* no good connect was made */ sclose(sockfd); *sockconn = -1; + failf(data, "Couldn't connect to host"); return CURLE_COULDNT_CONNECT; } |