1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Don't print download summary if nothing has been downloaded.

This commit is contained in:
hniksic 2005-09-17 06:07:00 -07:00
parent a95c910f9c
commit b9d8781b77
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2005-09-17 Hrvoje Niksic <hniksic@xemacs.org>
* main.c (main): Don't print the summary if nothing has been downloaded.
2005-09-17 Hrvoje Niksic <hniksic@xemacs.org>
* retr.c (retr_rate): Rename parameter from MSECS to SECS since it

View File

@ -968,9 +968,11 @@ Can't timestamp and not clobber old files at the same time.\n"));
opt.input_filename);
}
/* Print the downloaded sum. */
if (opt.recursive || opt.page_requisites
|| nurl > 1
|| (opt.input_filename && total_downloaded_bytes != 0))
if ((opt.recursive || opt.page_requisites
|| nurl > 1
|| (opt.input_filename && total_downloaded_bytes != 0))
&&
total_downloaded_bytes != 0)
{
logprintf (LOG_NOTQUIET,
_("FINISHED --%s--\nDownloaded: %d files, %s in %s (%s)\n"),