diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-04-17 11:33:47 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-04-17 11:33:47 +0000 |
commit | 78ebe3fa5ab9c098d2808d74e8e83aa738a241f0 (patch) | |
tree | af4200c08f1328369392df97f85eb20752fd0a63 | |
parent | a8e8e51b14f55515052df5b79fd04bffd98b8362 (diff) |
Gisle made a failed connect output the reason for it
-rw-r--r-- | lib/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c index 8bb4e2c43..24663289d 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -696,7 +696,7 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */ if (sockfd == CURL_SOCKET_BAD) { /* no good connect was made */ *sockconn = -1; - failf(data, "Connect failed"); + failf(data, "Connect failed; %s", Curl_strerror(conn,Curl_ourerrno())); return CURLE_COULDNT_CONNECT; } |