]> sjero.net Git - wget/commitdiff
[svn] Change name of param.
authorhniksic <devnull@localhost>
Sat, 17 Sep 2005 12:55:21 +0000 (05:55 -0700)
committerhniksic <devnull@localhost>
Sat, 17 Sep 2005 12:55:21 +0000 (05:55 -0700)
src/ChangeLog
src/retr.c

index 1332629738321abd27306ab0d2ca8da96f6f0c5e..e77e711fd1472c8ab72fef822fe58dc49011a88e 100644 (file)
@@ -1,3 +1,8 @@
+2005-09-17  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * retr.c (retr_rate): Rename parameter from MSECS to SECS since it
+       no longer holds milliseconds.
+
 2005-09-01  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * progress.c: Introduce symbolic constants for "magic" values of
index 37d63273d199b26f1d3f8bf88569a9eca304a89e..5360630f6de8a6395460f650fa2f8a8b7851f127 100644 (file)
@@ -515,13 +515,13 @@ fd_read_line (int fd)
    the units appropriate for the download speed.  */
 
 const char *
-retr_rate (wgint bytes, double msecs)
+retr_rate (wgint bytes, double secs)
 {
   static char res[20];
   static const char *rate_names[] = {"B/s", "KB/s", "MB/s", "GB/s" };
   int units;
 
-  double dlrate = calc_rate (bytes, msecs, &units);
+  double dlrate = calc_rate (bytes, secs, &units);
   /* Use more digits for smaller numbers (regardless of unit used),
      e.g. "1022", "247", "12.5", "2.38".  */
   sprintf (res, "%.*f %s",