Skip to content
Snippets Groups Projects
Commit 17b18bca authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

added error text for a failed connect case

parent be3d6012
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment