1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

vsftpd shows total filesize, so I commented out addition.

I know that this is not correct for every server.
Show me ftp sites, where resuming displays wrong filesize.
This commit is contained in:
Witold Filipczyk 2006-08-19 00:06:04 +02:00 committed by Witold Filipczyk
parent 63d834c1d3
commit 77470526ba

View File

@ -977,7 +977,9 @@ ftp_retr_file(struct socket *socket, struct read_buffer *rb)
if (file_len > 0) {
/* FIXME: ..when downloads resuming
* implemented.. */
conn->est_length = file_len + conn->progress->start;
/* This is right for vsftpd.
* Show me urls where this is wrong. --witekfl */
conn->est_length = file_len; /* + conn->progress->start; */
}
}
}