mirror of
https://github.com/curl/curl.git
synced 2026-07-17 10:47:16 +03:00
better human error message when a FTP response can't be read
This commit is contained in:
parent
437afe0767
commit
ee337309cf
1 changed files with 1 additions and 1 deletions
|
|
@ -306,7 +306,7 @@ CURLcode Curl_GetFTPResponse(ssize_t *nreadp, /* return number of bytes read */
|
|||
else if(gotbytes <= 0) {
|
||||
keepon = FALSE;
|
||||
result = CURLE_RECV_ERROR;
|
||||
failf(data, "Connection aborted");
|
||||
failf(data, "FTP response reading failed");
|
||||
}
|
||||
else {
|
||||
/* we got a whole chunk of data, which can be anything from one
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue