From: Daniel Stenberg Date: Wed, 12 Jun 2002 09:48:26 +0000 (+0000) Subject: added a connect failure error message that might get empty otherwise X-Git-Tag: curl-7_9_8~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=87afd7686f617f0d163520795fe439fcabe6dfea;p=curl added a connect failure error message that might get empty otherwise --- diff --git a/lib/connect.c b/lib/connect.c index 6babb9f42..ba00b73e9 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -581,6 +581,7 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */ /* no good connect was made */ sclose(sockfd); *sockconn = -1; + failf(data, "Connect failed"); return CURLE_COULDNT_CONNECT; }