From: Roger Dingledine Date: Tue, 25 Mar 2025 15:22:24 +0000 (-0400) Subject: fix two comment typos from 0.4.8.15 X-Git-Tag: tor-0.4.9.2-alpha~15^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18c1697e208b207fc09b4d563e73668fa08b1ab6;p=thirdparty%2Ftor.git fix two comment typos from 0.4.8.15 --- diff --git a/src/feature/nodelist/node_select.h b/src/feature/nodelist/node_select.h index 03d3a16019..0d7a5f23aa 100644 --- a/src/feature/nodelist/node_select.h +++ b/src/feature/nodelist/node_select.h @@ -29,7 +29,7 @@ typedef enum router_crn_flags_t { /* On clients, if choosing a node for a direct connection, only provide * nodes that satisfy ClientPreferIPv6OR. */ CRN_PREF_ADDR = 1<<5, - /* On clients, indiate that we need a HS related circuit (IP, HSDir or RP). + /* On clients, indicate that we need a HS related circuit (IP, HSDir, or RP). * This is used in order to avoid certain nodes for these purposes. */ CRN_FOR_HS = 1<<6, /* On clients, only provide nodes that can initiate IPv6 extends. */ diff --git a/src/feature/nodelist/routerlist.c b/src/feature/nodelist/routerlist.c index 6913d8778d..9b83db0a62 100644 --- a/src/feature/nodelist/routerlist.c +++ b/src/feature/nodelist/routerlist.c @@ -600,7 +600,7 @@ router_can_choose_node(const node_t *node, int flags) return false; if (initiate_ipv6_extend && !node_supports_initiating_ipv6_extends(node)) return false; - /* MiddleOnly node should never be used for HS ndpoints (IP, RP, HSDir). */ + /* MiddleOnly node should never be used for HS endpoints (IP, RP, HSDir). */ if (for_hs && node->is_middle_only) { return false; }