bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/2] Use "nofollow" instead of "no-follow" in messages


From: Nils
Subject: [PATCH 2/2] Use "nofollow" instead of "no-follow" in messages
Date: Tue, 13 Apr 2021 18:10:36 +0100

The attribute in html is "nofollow" so it is more consistent to call it
so than to hyphenate it.
---
 src/html-url.c | 2 +-
 src/recur.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/html-url.c b/src/html-url.c
index acf7f515..ed296bbc 100644
--- a/src/html-url.c
+++ b/src/html-url.c
@@ -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;
diff --git a/src/recur.c b/src/recur.c
index 3c4136d1..8570a32f 100644
--- a/src/recur.c
+++ b/src/recur.c
@@ -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;
             }
-- 
2.29.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]