added a connect failure error message that might get empty otherwise
authorDaniel Stenberg <daniel@haxx.se>
Wed, 12 Jun 2002 09:48:26 +0000 (09:48 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 12 Jun 2002 09:48:26 +0000 (09:48 +0000)
lib/connect.c

index 6babb9f..ba00b73 100644 (file)
@@ -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;
   }