progress: don't print the last update on a separate line.
authorJulien Chaffraix <julien.chaffraix@gmail.com>
Mon, 21 Mar 2011 01:00:29 +0000 (18:00 -0700)
committerJulien Chaffraix <julien.chaffraix@gmail.com>
Tue, 22 Mar 2011 04:00:56 +0000 (21:00 -0700)
commit34ef39015e3064ca61f48428911ed6ce89738875
tree9aec18bb3d2cafe3c63d554d2cc3da864d75f53e
parent252d70a1ed5e3ce3eea37952c89ba9fe75a7095c
progress: don't print the last update on a separate line.

Curl_posttransfer is called too soon to add the final new line.
Moved the new line logic to pgrsDone as there is no more call to
update the progress status after this call.

Reported by: Dmitri Shubin <sbn_at_tbricks.com>
http://curl.haxx.se/mail/lib-2010-12/0162.html
lib/progress.c
lib/transfer.c