]> sjero.net Git - wget/blobdiff - src/ftp.c
[svn] Rewrite with_thousand_seps to be size-agnostic. Remove printing of separators
[wget] / src / ftp.c
index b32d329e90dc2f7f74fa6598ef8e75c3d723c67b..de9ef06ca8d1be8b4d9cf5f171ccf43e8e720aea 100644 (file)
--- a/src/ftp.c
+++ b/src/ftp.c
@@ -214,18 +214,18 @@ ftp_do_port (int csock, int *local_sock)
 static void
 print_length (wgint size, wgint start, int authoritative)
 {
-  logprintf (LOG_VERBOSE, _("Length: %s"), with_thousand_seps (size));
+  logprintf (LOG_VERBOSE, _("Length: %s"), number_to_static_string (size));
   if (size >= 1024)
     logprintf (LOG_VERBOSE, " (%s)", human_readable (size));
   if (start > 0)
     {
       if (start >= 1024)
        logprintf (LOG_VERBOSE, _(", %s (%s) remaining"),
-                  with_thousand_seps (size - start),
+                  number_to_static_string (size - start),
                   human_readable (size - start));
       else
        logprintf (LOG_VERBOSE, _(", %s remaining"),
-                  with_thousand_seps (size - start));
+                  number_to_static_string (size - start));
     }
   logputs (LOG_VERBOSE, !authoritative ? _(" (unauthoritative)\n") : "\n");
 }