]> sjero.net Git - wget/commitdiff
[svn] Docfix.
authorhniksic <devnull@localhost>
Tue, 28 Jun 2005 09:19:24 +0000 (02:19 -0700)
committerhniksic <devnull@localhost>
Tue, 28 Jun 2005 09:19:24 +0000 (02:19 -0700)
src/progress.c

index 6f24cd290e027094504b7479910e109141256f33..81f71040ceb96fe15e646a7b7f40b596f769fbc3 100644 (file)
@@ -258,12 +258,9 @@ dot_create (wgint initial, wgint total)
 static void
 print_percentage (wgint bytes, wgint expected)
 {
-  /* This intentionally rounds to the floor value because it is a
-     measure of how much data *has* been retrieved.  Therefore 12.8%
-     rounds to 12% because the 13% mark has not yet been reached.
-     Likewise, 100% is only shown when all data has been retrieved,
-     not before.  */
-
+  /* Round to the floor value in order to gauge how much data *has*
+     been retrieved.  12.8% will round to 12% because the 13% mark has
+     not yet been reached.  100% is only shown when done.  */
   int percentage = 100.0 * bytes / expected;
   logprintf (LOG_VERBOSE, "%3d%%", percentage);
 }