]> granicus.if.org Git - curl/commitdiff
ftp: improved the failed PORT host name resolved error message
authorDaniel Stenberg <daniel@haxx.se>
Tue, 4 Oct 2011 14:24:50 +0000 (16:24 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 4 Oct 2011 14:24:50 +0000 (16:24 +0200)
lib/ftp.c

index 87dcbf24551477638813eb90cdc0d371aaac0321..b93361a2b11de6dc469cd9b6a76cff184fdaeb6e 100644 (file)
--- 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;
   }