1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-11 07:39:50 -04:00

Gisle made a failed connect output the reason for it

This commit is contained in:
Daniel Stenberg 2004-04-17 11:33:47 +00:00
parent a8e8e51b14
commit 78ebe3fa5a

View File

@ -696,7 +696,7 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */
if (sockfd == CURL_SOCKET_BAD) {
/* no good connect was made */
*sockconn = -1;
failf(data, "Connect failed");
failf(data, "Connect failed; %s", Curl_strerror(conn,Curl_ourerrno()));
return CURLE_COULDNT_CONNECT;
}