aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-05 09:37:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-05 09:37:48 +0000
commitef0a2c714ba7705fdc162a43ab10b88c1ebc4aad (patch)
tree38a39e90f2c04a4215599235c89fdbd83e5a5524 /lib
parent2cd6403011847a1a7a9e6d79b40a6a7f0fecea9e (diff)
clearly tell that these are ftp response timeouts
Diffstat (limited to 'lib')
-rw-r--r--lib/ftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 424d485a8..adb7db50b 100644
--- 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))