mirror of
https://github.com/curl/curl.git
synced 2026-08-05 11:36:14 +03:00
fixup return error better
This commit is contained in:
parent
6bf86c7504
commit
fb7993df53
2 changed files with 3 additions and 1 deletions
|
|
@ -599,6 +599,8 @@ static CURLcode ftp_readresp(struct Curl_easy *data,
|
|||
/* normal ftp stuff we pass through! */
|
||||
break;
|
||||
}
|
||||
if(code < 0)
|
||||
return CURLE_RECV_ERROR;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue