wget: shrink progress meter code; strink wget and add debug logging
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 10 Feb 2011 22:02:28 +0000 (23:02 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 10 Feb 2011 22:02:28 +0000 (23:02 +0100)
commitf836f01cc3eb39e5e4c7186f50b456b57fae2010
tree146e03c1f78155a9a5b4c3d8c7d1091653a7bdee
parent805aa9fec923109e90c87eda2f116ee2fa5fe962
wget: shrink progress meter code; strink wget and add debug logging

function                                             old     new   delta
fgets_and_trim                                         -      73     +73
retrieve_file_data                                   367     349     -18
bb_progress_update                                   723     699     -24
wget_main                                           2220    2190     -30
ftpcmd                                               133      87     -46
gethdr                                               200     153     -47
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/5 up/down: 73/-165)           Total: -92 bytes

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