]> granicus.if.org Git - curl/commitdiff
use the %dk display for one extra k of progress
authorDaniel Stenberg <daniel@haxx.se>
Thu, 15 Jan 2004 13:08:12 +0000 (13:08 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 15 Jan 2004 13:08:12 +0000 (13:08 +0000)
lib/progress.c

index 2da1e790bb7ac6c399200f24a3cd68c002edbfde..8f0b8cb6f9f0d4f973a07595c590bb725c058dc4 100644 (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;
   }