mirror of
https://github.com/curl/curl.git
synced 2026-05-30 09:27:30 +03:00
added a connect failure error message that might get empty otherwise
This commit is contained in:
parent
8ce10b5dfa
commit
87afd7686f
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue