mirror of https://github.com/moparisthebest/curl
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 */
|
/* no good connect was made */
|
||||||
sclose(sockfd);
|
sclose(sockfd);
|
||||||
*sockconn = -1;
|
*sockconn = -1;
|
||||||
|
failf(data, "Couldn't connect to host");
|
||||||
return CURLE_COULDNT_CONNECT;
|
return CURLE_COULDNT_CONNECT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue