mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
added error text for a failed connect case
This commit is contained in:
parent
be3d601217
commit
17b18bca3c
@ -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…
Reference in New Issue
Block a user