]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Spelling fix: "RECCOMEND" => "RECOMMEND".
authorNick Mathewson <nickm@torproject.org>
Wed, 17 Jun 2020 14:37:47 +0000 (10:37 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 17 Jun 2020 14:37:47 +0000 (10:37 -0400)
src/feature/dirauth/dirvote.c
src/feature/dirauth/dirvote.h
src/test/test_protover.c

index 85a23a12f6ba734f8e4e182e343a33b9b780d08f..79651563b409e23282244e523b9e58a2475f0025 100644 (file)
@@ -4679,9 +4679,9 @@ dirserv_generate_networkstatus_vote_obj(crypto_pk_t *private_key,
 
   /* These are hardwired, to avoid disaster. */
   v3_out->recommended_relay_protocols =
-    tor_strdup(DIRVOTE_RECCOMEND_RELAY_PROTO);
+    tor_strdup(DIRVOTE_RECOMMEND_RELAY_PROTO);
   v3_out->recommended_client_protocols =
-    tor_strdup(DIRVOTE_RECCOMEND_CLIENT_PROTO);
+    tor_strdup(DIRVOTE_RECOMMEND_CLIENT_PROTO);
 
   v3_out->required_relay_protocols =
     tor_strdup(DIRVOTE_REQUIRE_RELAY_PROTO);
index fa7b1da4ab9040f5ec3de8ebd9677bbaecfd7da8..cf70e1184595f7fca26abd8299d0eea10719cf46 100644 (file)
@@ -238,13 +238,13 @@ STATIC microdesc_t *dirvote_create_microdescriptor(const routerinfo_t *ri,
 /** The recommended relay protocols for this authority's votes.
  * Recommending a new protocol causes old tor versions to log a warning.
  */
-#define DIRVOTE_RECCOMEND_RELAY_PROTO \
+#define DIRVOTE_RECOMMEND_RELAY_PROTO \
   "Cons=1-2 Desc=1-2 DirCache=1 HSDir=1 HSIntro=3 HSRend=1 " \
   "Link=4 Microdesc=1-2 Relay=2"
 /** The recommended client protocols for this authority's votes.
  * Recommending a new protocol causes old tor versions to log a warning.
  */
-#define DIRVOTE_RECCOMEND_CLIENT_PROTO \
+#define DIRVOTE_RECOMMEND_CLIENT_PROTO \
   "Cons=1-2 Desc=1-2 DirCache=1 HSDir=1 HSIntro=3 HSRend=1 " \
   "Link=4 Microdesc=1-2 Relay=2"
 
index c33fbcae2c07817001752dec0a24f1668537459c..8fccae1a455588d396ca36e2200cd4cc653bb23b 100644 (file)
@@ -645,8 +645,8 @@ test_protover_vote_roundtrip_ours(void *args)
   (void) args;
   const char *examples[] = {
     protover_get_supported_protocols(),
-    DIRVOTE_RECCOMEND_RELAY_PROTO,
-    DIRVOTE_RECCOMEND_CLIENT_PROTO,
+    DIRVOTE_RECOMMEND_RELAY_PROTO,
+    DIRVOTE_RECOMMEND_CLIENT_PROTO,
     DIRVOTE_REQUIRE_RELAY_PROTO,
     DIRVOTE_REQUIRE_CLIENT_PROTO,
   };