better human error message when a FTP response can't be read

This commit is contained in:
Daniel Stenberg 2003-12-08 13:06:08 +00:00
parent 437afe0767
commit ee337309cf
1 changed files with 1 additions and 1 deletions

View File

@ -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