[tor-commits] [tor/master] fix two trivial comment mistakes

arma at torproject.org arma at torproject.org
Mon Nov 23 19:08:56 UTC 2020


commit 4f1e38ec8efee291668f8706ca946b0988f64352
Author: Roger Dingledine <arma at torproject.org>
Date:   Mon Nov 23 14:08:42 2020 -0500

    fix two trivial comment mistakes
---
 src/core/or/connection_edge.c        | 2 +-
 src/feature/nodelist/networkstatus.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/core/or/connection_edge.c b/src/core/or/connection_edge.c
index 859ad1c6fc..b2390e4f04 100644
--- a/src/core/or/connection_edge.c
+++ b/src/core/or/connection_edge.c
@@ -2209,7 +2209,7 @@ connection_ap_handshake_rewrite_and_attach(entry_connection_t *conn,
   }
 
   /* If this is a .exit hostname, strip off the .name.exit part, and
-   * see whether we're willing to connect there, and and otherwise handle the
+   * see whether we're willing to connect there, and otherwise handle the
    * .exit address.
    *
    * We'll set chosen_exit_name and/or close the connection as appropriate.
diff --git a/src/feature/nodelist/networkstatus.c b/src/feature/nodelist/networkstatus.c
index ece3c9e059..5deec01f82 100644
--- a/src/feature/nodelist/networkstatus.c
+++ b/src/feature/nodelist/networkstatus.c
@@ -240,7 +240,7 @@ networkstatus_get_cache_fname,(int flav,
 }
 
 /**
- * Read and and return the cached consensus of type <b>flavorname</b>.  If
+ * Read and return the cached consensus of type <b>flavorname</b>.  If
  * <b>unverified</b> is false, get the one we haven't verified. Return NULL if
  * the file isn't there. */
 static tor_mmap_t *



More information about the tor-commits mailing list