aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-10-04 16:24:50 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-10-04 16:24:50 +0200
commitfa77f54a039daec9f28cddb896d5132f3df5c27d (patch)
treebe4f3553ef8510fd04e8267cb7a3be112d7280c2
parentbc007d8ef5acc5779657c131405d5de9d6d6c5c0 (diff)
ftp: improved the failed PORT host name resolved error message
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
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;
}