aboutsummaryrefslogtreecommitdiff
path: root/src/feature
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2020-03-27 02:56:59 -0400
committerRoger Dingledine <arma@torproject.org>2020-03-27 02:56:59 -0400
commitf8ecf01cc1bbe8a483623a05161276c5ae8bbd54 (patch)
tree9504a4d8f89aa1cc9f2dbe98c5c1ef1d5e60e3ad /src/feature
parenta4304c603188da49dcf2ded7cb53230ba2cae74c (diff)
downloadtor-f8ecf01cc1bbe8a483623a05161276c5ae8bbd54.tar.gz
tor-f8ecf01cc1bbe8a483623a05161276c5ae8bbd54.zip
spell consensus more right in comments
Diffstat (limited to 'src/feature')
-rw-r--r--src/feature/dirauth/guardfraction.c2
-rw-r--r--src/feature/nodelist/networkstatus.c2
-rw-r--r--src/feature/relay/router.c8
3 files changed, 6 insertions, 6 deletions
diff --git a/src/feature/dirauth/guardfraction.c b/src/feature/dirauth/guardfraction.c
index 40189ce494..b84f804f5f 100644
--- a/src/feature/dirauth/guardfraction.c
+++ b/src/feature/dirauth/guardfraction.c
@@ -188,7 +188,7 @@ guardfraction_file_parse_inputs_line(const char *inputs_line,
*
* guardfraction-file-version 1
* written-at <date and time>
- * n-inputs <number of consesuses parsed> <number of days considered>
+ * n-inputs <number of consensuses parsed> <number of days considered>
*
* guard-seen <fpr 1> <guardfraction percentage> <consensus appearances>
* guard-seen <fpr 2> <guardfraction percentage> <consensus appearances>
diff --git a/src/feature/nodelist/networkstatus.c b/src/feature/nodelist/networkstatus.c
index 2188e47177..e07d58c91c 100644
--- a/src/feature/nodelist/networkstatus.c
+++ b/src/feature/nodelist/networkstatus.c
@@ -2167,7 +2167,7 @@ networkstatus_set_current_consensus(const char *consensus,
warn_early_consensus(c, flavor, now);
- /* We got a new consesus. Reset our md fetch fail cache */
+ /* We got a new consensus. Reset our md fetch fail cache */
microdesc_reset_outdated_dirservers_list();
router_dir_info_changed();
diff --git a/src/feature/relay/router.c b/src/feature/relay/router.c
index 3e92f202e6..9b62bb385c 100644
--- a/src/feature/relay/router.c
+++ b/src/feature/relay/router.c
@@ -748,8 +748,8 @@ v3_authority_check_key_expiry(void)
}
/** Get the lifetime of an onion key in days. This value is defined by the
- * network consesus parameter "onion-key-rotation-days". Always returns a value
- * between <b>MIN_ONION_KEY_LIFETIME_DAYS</b> and
+ * network consensus parameter "onion-key-rotation-days". Always returns a
+ * value between <b>MIN_ONION_KEY_LIFETIME_DAYS</b> and
* <b>MAX_ONION_KEY_LIFETIME_DAYS</b>.
*/
static int
@@ -763,7 +763,7 @@ get_onion_key_rotation_days_(void)
}
/** Get the current lifetime of an onion key in seconds. This value is defined
- * by the network consesus parameter "onion-key-rotation-days", but the value
+ * by the network consensus parameter "onion-key-rotation-days", but the value
* is converted to seconds.
*/
int
@@ -773,7 +773,7 @@ get_onion_key_lifetime(void)
}
/** Get the grace period of an onion key in seconds. This value is defined by
- * the network consesus parameter "onion-key-grace-period-days", but the value
+ * the network consensus parameter "onion-key-grace-period-days", but the value
* is converted to seconds.
*/
int