better human error message when a FTP response can't be read
authorDaniel Stenberg <daniel@haxx.se>
Mon, 8 Dec 2003 13:06:08 +0000 (13:06 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 8 Dec 2003 13:06:08 +0000 (13:06 +0000)
lib/ftp.c

index 8c6f465ebc3de7e789e91b685d7acd13c16767af..c66f75142e43f1d18577f1ae9db39f0d5116a059 100644 (file)
--- 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