From f8ecf01cc1bbe8a483623a05161276c5ae8bbd54 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Fri, 27 Mar 2020 02:56:59 -0400 Subject: spell consensus more right in comments --- src/feature/dirauth/guardfraction.c | 2 +- src/feature/nodelist/networkstatus.c | 2 +- src/feature/relay/router.c | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') 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 - * n-inputs + * n-inputs * * guard-seen * guard-seen 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 MIN_ONION_KEY_LIFETIME_DAYS and + * network consensus parameter "onion-key-rotation-days". Always returns a + * value between MIN_ONION_KEY_LIFETIME_DAYS and * MAX_ONION_KEY_LIFETIME_DAYS. */ 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 -- cgit v1.2.3-54-g00ecf