aboutsummaryrefslogtreecommitdiff
path: root/lib/progress.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-15 13:08:12 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-15 13:08:12 +0000
commit686c70c5b572b14fd3af1c533426fa6d28fc23bf (patch)
treefbf235498116d966450c36edfcfeeefddcc75187 /lib/progress.c
parentf94502ecba2d012dff29762c5741c4c5a6346915 (diff)
use the %dk display for one extra k of progress
Diffstat (limited to 'lib/progress.c')
-rw-r--r--lib/progress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/progress.c b/lib/progress.c
index 2da1e790b..8f0b8cb6f 100644
--- a/lib/progress.c
+++ b/lib/progress.c
@@ -62,7 +62,7 @@ static char *max5data(double bytes, char *max5)
sprintf(max5, "%5d", (int)bytes);
return max5;
}
- if(bytes < (9999*ONE_KILOBYTE)) {
+ if(bytes < (10000*ONE_KILOBYTE)) {
sprintf(max5, "%4dk", (int)bytes/ONE_KILOBYTE);
return max5;
}