mirror of
https://github.com/curl/curl.git
synced 2026-06-02 04:04:26 +03:00
Gisle made a failed connect output the reason for it
This commit is contained in:
parent
a8e8e51b14
commit
78ebe3fa5a
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue