summaryrefslogtreecommitdiffstats
path: root/fb.c.in
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@server-speed.net>2011-03-21 16:34:25 +0100
committerFlorian Pritz <bluewind@server-speed.net>2011-03-21 16:34:25 +0100
commit7716f822471901ab2a08d02944bef4c4190584a2 (patch)
tree13ed6b6269333b4fc2317b0c8749c9c16f876fc7 /fb.c.in
parent78781ff4e0056650ef2af665b309e68e2a13a5ff (diff)
fb.c: fix cleanup of progress
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
Diffstat (limited to 'fb.c.in')
-rw-r--r--fb.c.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/fb.c.in b/fb.c.in
index 2b5ceea..c8468f1 100644
--- a/fb.c.in
+++ b/fb.c.in
@@ -74,7 +74,7 @@ int progress_callback(void *cb_data,
/* upload complete; clean up */
if (ulnow >= ultotal) {
- fprintf(stderr, "\r");
+ fprintf(stderr, "%*s\r", data->lastStringLength + 1, "");
return 0;
}