mirror of
https://github.com/curl/curl.git
synced 2026-05-18 05:46:19 +03:00
added error text for a failed connect case
This commit is contained in:
parent
be3d601217
commit
17b18bca3c
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue