ftp: improved the failed PORT host name resolved error message
This commit is contained in:
parent
bc007d8ef5
commit
fa77f54a03
@ -853,7 +853,7 @@ static CURLcode ftp_state_use_port(struct connectdata *conn,
|
|||||||
free(addr);
|
free(addr);
|
||||||
|
|
||||||
if(res == NULL) {
|
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;
|
return CURLE_FTP_PORT_FAILED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user