mirror of
https://github.com/mirror/wget.git
synced 2025-03-13 11:20:19 +08:00
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:
parent
f1cccd2c45
commit
1aada296dd
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user