libbb: shrink wget/tftp progress indicator code a bit more
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 7 Feb 2018 22:48:34 +0000 (23:48 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 7 Feb 2018 22:48:34 +0000 (23:48 +0100)
commit47529d3f165c06bd0c3be751fdd4b743b4bddedb
tree9ff056176bd404213e9e8d95fab09f5def0c23fd
parentab843e3244e98f92e16b9c9c1f06dbab87e97175
libbb: shrink wget/tftp progress indicator code a bit more

This makes size display 5-char wide instead of 6-char, but now it's smarter
(can show sizes in "12.3M" format).

function                                             old     new   delta
bb_progress_update                                   654     622     -32

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/progress.c