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

added error text for a failed connect case

This commit is contained in:
Daniel Stenberg 2001-11-21 22:57:42 +00:00
parent be3d601217
commit 17b18bca3c

View File

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