[tor-commits] [tor/master] Fix typo in router_build_fresh_unsigned_routerinfo() comment

nickm at torproject.org nickm at torproject.org
Tue Apr 14 15:52:24 UTC 2020


commit a638514783ba5cdd7651e55da7539b69c3b66281
Author: Neel Chauhan <neel at neelc.org>
Date:   Sun Apr 12 12:43:21 2020 -0700

    Fix typo in router_build_fresh_unsigned_routerinfo() comment
---
 src/feature/relay/router.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/feature/relay/router.c b/src/feature/relay/router.c
index 9b62bb385..a4a9c6a81 100644
--- a/src/feature/relay/router.c
+++ b/src/feature/relay/router.c
@@ -2036,7 +2036,7 @@ router_build_fresh_unsigned_routerinfo,(routerinfo_t **ri_out))
   /* For now, at most one IPv6 or-address is being advertised. */
   tor_addr_port_t ipv6_orport;
   router_get_advertised_ipv6_or_ap(options, &ipv6_orport);
-  /* If there is no valud IPv6 ORPort, the address and port are null. */
+  /* If there is no valid IPv6 ORPort, the address and port are null. */
   tor_addr_copy(&ri->ipv6_addr, &ipv6_orport.addr);
   ri->ipv6_orport = ipv6_orport.port;
 





More information about the tor-commits mailing list