aboutsummaryrefslogtreecommitdiff
path: root/lib/connect.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-06-12 09:48:26 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-06-12 09:48:26 +0000
commit87afd7686f617f0d163520795fe439fcabe6dfea (patch)
tree5e053933715be94209bd1dbbe1e4c2da0eea2406 /lib/connect.c
parent8ce10b5dfa60581845a8d2c2727ef475e5dfc3cd (diff)
added a connect failure error message that might get empty otherwise
Diffstat (limited to 'lib/connect.c')
-rw-r--r--lib/connect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/connect.c b/lib/connect.c
index 6babb9f42..ba00b73e9 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -581,6 +581,7 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */
/* no good connect was made */
sclose(sockfd);
*sockconn = -1;
+ failf(data, "Connect failed");
return CURLE_COULDNT_CONNECT;
}