[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] fix typos and whitespace



commit ee0a27293e0b5a402a09e85f67483829731480af
Author: Roger Dingledine <arma@xxxxxxxxxxxxxx>
Date:   Sun Jan 10 13:29:50 2021 -0500

    fix typos and whitespace
---
 src/feature/client/entrynodes.c | 2 +-
 src/feature/nodelist/nodelist.c | 1 +
 src/feature/relay/selftest.c    | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/feature/client/entrynodes.c b/src/feature/client/entrynodes.c
index cc77cbcbf5..298f8c06a2 100644
--- a/src/feature/client/entrynodes.c
+++ b/src/feature/client/entrynodes.c
@@ -3850,7 +3850,7 @@ guards_retry_optimistic(const or_options_t *options)
  * Check if we are missing any crucial dirinfo for the guard subsystem to
  * work. Return NULL if everything went well, otherwise return a newly
  * allocated string with an informative error message. In the latter case, use
- * the genreal descriptor information <b>using_mds</b>, <b>num_present</b> and
+ * the general descriptor information <b>using_mds</b>, <b>num_present</b> and
  * <b>num_usable</b> to improve the error message. */
 char *
 guard_selection_get_err_str_if_dir_info_missing(guard_selection_t *gs,
diff --git a/src/feature/nodelist/nodelist.c b/src/feature/nodelist/nodelist.c
index f263d0fe7c..0826b60ba6 100644
--- a/src/feature/nodelist/nodelist.c
+++ b/src/feature/nodelist/nodelist.c
@@ -959,6 +959,7 @@ nodelist_ensure_freshness(const networkstatus_t *ns)
     nodelist_set_consensus(ns);
   }
 }
+
 /** Return a list of a node_t * for every node we know about.  The caller
  * MUST NOT modify the list. (You can set and clear flags in the nodes if
  * you must, but you must not add or remove nodes.) */
diff --git a/src/feature/relay/selftest.c b/src/feature/relay/selftest.c
index 86b1533be1..137c478fef 100644
--- a/src/feature/relay/selftest.c
+++ b/src/feature/relay/selftest.c
@@ -277,7 +277,7 @@ router_do_orport_reachability_checks(const routerinfo_t *me,
     if (!orport_reachable) {
       /* Only log if we are actually doing a reachability test to learn if our
        * ORPort is reachable. Else, this prints a log notice if we are simply
-       * opening a bandwidth testing circuit even do we are reachable. */
+       * opening a bandwidth testing circuit even though we are reachable. */
       inform_testing_reachability(&ap->addr, ap->port, false);
     }
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits