mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Gisle made a failed connect output the reason for it
This commit is contained in:
parent
a8e8e51b14
commit
78ebe3fa5a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user