]> granicus.if.org Git - curl/commitdiff
clearly tell that these are ftp response timeouts
authorDaniel Stenberg <daniel@haxx.se>
Fri, 5 Mar 2004 09:37:48 +0000 (09:37 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 5 Mar 2004 09:37:48 +0000 (09:37 +0000)
lib/ftp.c

index 424d485a872239a447b819eb90a3271de7312a6b..adb7db50bdf141591319f34c1ee52a4c8e29a0c1 100644 (file)
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -266,7 +266,7 @@ CURLcode Curl_GetFTPResponse(ssize_t *nreadp, /* return number of bytes read */
         Curl_tvdiff(Curl_tvnow(), now)/1000; /* spent time */
 
     if(timeout <=0 ) {
-      failf(data, "Transfer aborted due to timeout");
+      failf(data, "FTP response timeout");
       return CURLE_OPERATION_TIMEDOUT; /* already too little time */
     }
 
@@ -278,7 +278,7 @@ CURLcode Curl_GetFTPResponse(ssize_t *nreadp, /* return number of bytes read */
       switch (select (sockfd+1, &readfd, NULL, NULL, &interval)) {
       case -1: /* select() error, stop reading */
         result = CURLE_RECV_ERROR;
-        failf(data, "Transfer aborted due to select() error: %d", errno);
+        failf(data, "FTP response aborted due to select() error: %d", errno);
         break;
       case 0: /* timeout */
         if(Curl_pgrsUpdate(conn))