1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

use the %dk display for one extra k of progress

This commit is contained in:
Daniel Stenberg 2004-01-15 13:08:12 +00:00
parent f94502ecba
commit 686c70c5b5

View File

@ -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;
}