X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fspider.c;h=b540b95fc5cc07aec7c911e787fdcdcf28168032;hp=cefff739a20e9ab11ad53e0d74eda286f1bd2cf6;hb=4a08094db88011153adadbf995103770b20d2a31;hpb=73ff253e371f58dde04ce30f04c59f2000a1b7e5 diff --git a/src/spider.c b/src/spider.c index cefff739..b540b95f 100644 --- a/src/spider.c +++ b/src/spider.c @@ -68,26 +68,26 @@ print_broken_links (void) { hash_table_iterator iter; int num_elems; - - if (!nonexisting_urls_set) + + if (!nonexisting_urls_set) { logprintf (LOG_NOTQUIET, _("Found no broken links.\n\n")); return; } - + num_elems = hash_table_count (nonexisting_urls_set); assert (num_elems > 0); logprintf (LOG_NOTQUIET, ngettext("Found %d broken link.\n\n", "Found %d broken links.\n\n", num_elems), num_elems); - + for (hash_table_iterate (nonexisting_urls_set, &iter); hash_table_iter_next (&iter); ) { /* Struct url_list *list; */ const char *url = (const char *) iter.key; - + logprintf (LOG_NOTQUIET, _("%s\n"), url); } logputs (LOG_NOTQUIET, "\n");