From 6762389df0e7f21385cb5863c4357c3534ac00f0 Mon Sep 17 00:00:00 2001 From: hniksic Date: Tue, 28 Jun 2005 02:19:24 -0700 Subject: [PATCH] [svn] Docfix. --- src/progress.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/progress.c b/src/progress.c index 6f24cd29..81f71040 100644 --- a/src/progress.c +++ b/src/progress.c @@ -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); } -- 2.39.2