Use "nofollow" instead of "no-follow" in messages

* src/html-url.c (get_urls_html_fm): Remove misleading debug message.
* src/recur.c (retrieve_tree): Fix no-follow -> follow in DEBUGP.

The attribute in html is "nofollow" so it is more consistent to call it
so than to hyphenate it.

Copyright-paperwork-exempt: Yes
This commit is contained in:
Nils 2021-04-13 18:10:36 +01:00 committed by Tim Rühsen
parent f1cccd2c45
commit 1aada296dd
2 changed files with 2 additions and 2 deletions

View File

@ -837,7 +837,7 @@ get_urls_html_fm (const char *file, const struct file_memory *fm,
#endif
xfree (meta_charset);
DEBUGP (("no-follow in %s: %d\n", file, ctx.nofollow));
DEBUGP (("nofollow in %s: %d\n", file, ctx.nofollow));
if (meta_disallow_follow)
*meta_disallow_follow = ctx.nofollow;

View File

@ -427,7 +427,7 @@ retrieve_tree (struct url *start_url_parsed, struct iri *pi)
if (opt.use_robots && meta_disallow_follow)
{
logprintf(LOG_VERBOSE, _("no-follow attribute found in %s. Will not follow any links on this page\n"), file);
logprintf(LOG_VERBOSE, _("nofollow attribute found in %s. Will not follow any links on this page\n"), file);
free_urlpos (children);
children = NULL;
}