bug-wget
[Top][All Lists]
Advanced

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

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


From: Tim Rühsen
Subject: Re: [PATCH 2/2] Use "nofollow" instead of "no-follow" in messages
Date: Thu, 15 Apr 2021 21:05:47 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

Thank you, Nils.

Commit messages slightly amend and pushed.

Regards, Tim

On 13.04.21 19:10, Nils wrote:
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;
              }


Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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