From: Daniel Stenberg Date: Wed, 21 Nov 2001 22:57:42 +0000 (+0000) Subject: added error text for a failed connect case X-Git-Tag: curl-7_9_2~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17b18bca3cab0ab6d6df01951a41454e6f8ee5d3;p=thirdparty%2Fcurl.git added error text for a failed connect case --- diff --git a/lib/connect.c b/lib/connect.c index af98242c52..274f7b1e1e 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; }