aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-11-21 22:57:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-11-21 22:57:42 +0000
commit17b18bca3cab0ab6d6df01951a41454e6f8ee5d3 (patch)
tree6ada379e07200dfef66cb2f41030c40acadbc872 /lib
parentbe3d601217706ada926e0a00e26e324349678f6b (diff)
added error text for a failed connect case
Diffstat (limited to 'lib')
-rw-r--r--lib/connect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/connect.c b/lib/connect.c
index af98242c5..274f7b1e1 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -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;
}