wget: make -c _not_ truncate the file
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 17 Jun 2012 17:52:25 +0000 (19:52 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 17 Jun 2012 17:52:25 +0000 (19:52 +0200)
commit6144124aac1d4a30ff81842ba1bb0e28373a71c8
treef6ec5a1d47dd6cc90835a59bdc4518cea68600e7
parentc5b01016e622f01dfa9c8c542c0968fe37d4a5f2
wget: make -c _not_ truncate the file

function                                             old     new   delta
retrieve_file_data                                   396     436     +40
reset_beg_range_to_zero                               52      45      -7

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