wget: add support for -S --server-response
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 24 Jan 2017 20:41:43 +0000 (21:41 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 24 Jan 2017 20:41:43 +0000 (21:41 +0100)
commitdff9fefd500401ad7821c9890fee4c3fb88f64eb
tree7cae58ea31a99f4f7cfab543de97f5b34a202999
parentbca4ea8b68403e6f751341b82c65937f14590679
wget: add support for -S --server-response

Based on the patch by stephane.billiart@gmail.com

function                                             old     new   delta
ftpcmd                                                87     129     +42
fgets_and_trim                                        86     119     +33
static.wget_longopts                                 234     252     +18
packed_usage                                       31002   31015     +13
wget_main                                           2535    2540      +5
gethdr                                               158     163      +5
retrieve_file_data                                   424     428      +4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 7/0 up/down: 120/0)             Total: 120 bytes

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