added error text for a failed connect case

This commit is contained in:
Daniel Stenberg 2001-11-21 22:57:42 +00:00
parent be3d601217
commit 17b18bca3c
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}