wget: make "wget -O FILE URL1 URL2" concatenate output
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 14 Feb 2011 23:58:36 +0000 (00:58 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 14 Feb 2011 23:58:36 +0000 (00:58 +0100)
commit2384a357f41a92421e1e68fdd3a1afda7922a8ea
treee4abb48e26d98c44252f583cdd42a58d0a52c7e2
parent57b4909db92ab403cc955e6cef4ea2b8318586b6
wget: make "wget -O FILE URL1 URL2" concatenate output

Also fixes a few cases where URL1's data (like start pos)
was leaking into URL2

function                                             old     new   delta
wget_main                                           2303    2321     +18
progress_meter                                       140     152     +12
retrieve_file_data                                   397     396      -1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 30/-1)              Total: 29 bytes

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