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:
parent
f94502ecba
commit
686c70c5b5
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user