Permalink
Browse files

ftp: improved the failed PORT host name resolved error message

  • Loading branch information...
1 parent bc007d8 commit fa77f54a039daec9f28cddb896d5132f3df5c27d @bagder bagder committed Oct 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ftp.c
View
@@ -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;
}

0 comments on commit fa77f54

Please sign in to comment.