From fa77f54a039daec9f28cddb896d5132f3df5c27d Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Tue, 4 Oct 2011 16:24:50 +0200
Subject: [PATCH] ftp: improved the failed PORT host name resolved error
 message

---
 lib/ftp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ftp.c b/lib/ftp.c
index 87dcbf245..b93361a2b 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -853,7 +853,7 @@ static CURLcode ftp_state_use_port(struct connectdata *conn,
     free(addr);
 
   if(res == NULL) {
-    failf(data, "Curl_resolv failed, we can not recover!");
+    failf(data, "failed to resolve the address provided to PORT: %s", host);
     return CURLE_FTP_PORT_FAILED;
   }
 
-- 
2.40.0