]> sjero.net Git - wget/blobdiff - src/ftp.c
Only print remaining size when > 1k.
[wget] / src / ftp.c
index 482651be62cd769f94ab404d25fc69297a0cc03f..9f65cc340332957fed6968a2c7fd07b85a14fec5 100644 (file)
--- a/src/ftp.c
+++ b/src/ftp.c
@@ -216,7 +216,7 @@ print_length (wgint size, wgint start, bool authoritative)
     logprintf (LOG_VERBOSE, " (%s)", human_readable (size));
   if (start > 0)
     {
-      if (start >= 1024)
+      if (size - start >= 1024)
         logprintf (LOG_VERBOSE, _(", %s (%s) remaining"),
                    number_to_static_string (size - start),
                    human_readable (size - start));