1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

added a connect failure error message that might get empty otherwise

This commit is contained in:
Daniel Stenberg 2002-06-12 09:48:26 +00:00
parent 8ce10b5dfa
commit 87afd7686f

View File

@ -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;
}