mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Only print remaining size when > 1k.
This commit is contained in:
parent
3d7fceb1ef
commit
8f5ffd9589
@ -1,3 +1,8 @@
|
||||
2008-11-05 Micah Cowan <micah@cowan.name>
|
||||
|
||||
* ftp.c (print_length): Should print humanized "size remaining"
|
||||
only when it's at least 1k.
|
||||
|
||||
2008-10-31 Micah Cowan <micah@cowan.name>
|
||||
|
||||
* main.c (print_version): Add information about the mailing list.
|
||||
|
@ -216,7 +216,7 @@ print_length (wgint size, wgint start, bool authoritative)
|
||||
logprintf (LOG_VERBOSE, " (%s)", human_readable (size));
|
||||
if (start > 0)
|
||||
{
|
||||
if (start >= 1024)
|
||||
if (size - start >= 1024)
|
||||
logprintf (LOG_VERBOSE, _(", %s (%s) remaining"),
|
||||
number_to_static_string (size - start),
|
||||
human_readable (size - start));
|
||||
|
Loading…
Reference in New Issue
Block a user