mirror of
https://github.com/curl/curl.git
synced 2026-06-17 01:25:42 +03:00
fixup ftp to retain CURLE_FTP_PORT_FAILED when not OOM
This commit is contained in:
parent
0f608a3b76
commit
bac12f79fb
1 changed files with 1 additions and 0 deletions
|
|
@ -1031,6 +1031,7 @@ static CURLcode ftp_state_use_port(struct Curl_easy *data,
|
|||
if(result) {
|
||||
if(result == CURLE_OUT_OF_MEMORY)
|
||||
goto out;
|
||||
result = CURLE_FTP_PORT_FAILED;
|
||||
error = SOCKERRNO;
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue