]> granicus.if.org Git - curl/commitdiff
added error text for a failed connect case
authorDaniel Stenberg <daniel@haxx.se>
Wed, 21 Nov 2001 22:57:42 +0000 (22:57 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 21 Nov 2001 22:57:42 +0000 (22:57 +0000)
lib/connect.c

index af98242c5250456ac40615a44e1bce13bba70b58..274f7b1e1e010c006620f21fb3e07385036be94e 100644 (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;
   }