From ee337309cfa6d224fc9e01a6c0b2523c28860950 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 8 Dec 2003 13:06:08 +0000 Subject: [PATCH] better human error message when a FTP response can't be read --- lib/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ftp.c b/lib/ftp.c index 8c6f465eb..c66f75142 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -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