X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fmain.c;h=956b94852321df873e1c04c3c3549f20aa93f1c8;hp=3bb6b14f5c92445e0fdfcc6b8c87597e52ae7f63;hb=b7a8c6d3f5d6555f323523c3b87507eebc1df3eb;hpb=28293eafd09e41d1cea22ebea291e669c7a8e8d9 diff --git a/src/main.c b/src/main.c index 3bb6b14f..956b9485 100644 --- a/src/main.c +++ b/src/main.c @@ -771,10 +771,12 @@ Can't timestamp and not clobber old files at the same time.\n")); { logprintf (LOG_NOTQUIET, _("\nFINISHED --%s--\nDownloaded: %s bytes in %d files\n"), - time_str (NULL), legible_very_long (opt.downloaded), + time_str (NULL), + (opt.downloaded_overflow ? + "" : legible_very_long (opt.downloaded)), opt.numurls); /* Print quota warning, if exceeded. */ - if (opt.quota && opt.downloaded > opt.quota) + if (downloaded_exceeds_quota ()) logprintf (LOG_NOTQUIET, _("Download quota (%s bytes) EXCEEDED!\n"), legible (opt.quota));