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 */
}
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))