From 1949908d134bb3764b0049be64f170f473f22fd8 Mon Sep 17 00:00:00 2001 From: "teor (Tim Wilson-Brown)" Date: Sun, 13 Dec 2015 11:44:21 +1100 Subject: [PATCH 1/3] Fix a typo in the comment for tor_addr_port_split --- src/common/address.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/address.c b/src/common/address.c index 69a80986ed..061bb7e724 100644 --- a/src/common/address.c +++ b/src/common/address.c @@ -1784,7 +1784,7 @@ tor_addr_port_parse(int severity, const char *addrport, } /** Given an address of the form "host[:port]", try to divide it into its host - * ane port portions, setting *address_out to a newly allocated string + * and port portions, setting *address_out to a newly allocated string * holding the address portion and *port_out to the port (or 0 if no * port is given). Return 0 on success, -1 on failure. */ int From 3a24364a6920ebe17c564cc432e0422ce78fbaed Mon Sep 17 00:00:00 2001 From: "teor (Tim Wilson-Brown)" Date: Tue, 15 Dec 2015 07:50:07 +1100 Subject: [PATCH 2/3] Fix typos in microdesc_t and node_t comments --- src/or/or.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/or/or.h b/src/or/or.h index 89c539817f..6b5bd86761 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2333,7 +2333,7 @@ typedef struct microdesc_t { curve25519_public_key_t *onion_curve25519_pkey; /** Ed25519 identity key, if included. */ ed25519_public_key_t *ed25519_identity_pkey; - /** As routerinfo_t.ipv6_add */ + /** As routerinfo_t.ipv6_addr */ tor_addr_t ipv6_addr; /** As routerinfo_t.ipv6_orport */ uint16_t ipv6_orport; @@ -2351,7 +2351,7 @@ typedef struct microdesc_t { * Specifically, a node_t is a Tor router as we are using it: a router that * we are considering for circuits, connections, and so on. A node_t is a * thin wrapper around the routerstatus, routerinfo, and microdesc for a - * single wrapper, and provides a consistent interface for all of them. + * single router, and provides a consistent interface for all of them. * * Also, a node_t has mutable state. While a routerinfo, a routerstatus, * and a microdesc have[*] only the information read from a router From ce5406b71aa504a84f4012b8442342496bc71aa9 Mon Sep 17 00:00:00 2001 From: "teor (Tim Wilson-Brown)" Date: Sun, 3 Jan 2016 17:33:31 +1100 Subject: [PATCH 3/3] Fix a comment typo in main.c --- src/or/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/main.c b/src/or/main.c index c8b1283974..0ab8f10a4b 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1301,7 +1301,7 @@ static periodic_event_item_t periodic_events[] = { /* These are pointers to members of periodic_events[] that are used to * implement particular callbacks. We keep them separate here so that we * can access them by name. We also keep them inside periodic_events[] - * so that we can implement "reset all timers" in a reasaonable way. */ + * so that we can implement "reset all timers" in a reasonable way. */ static periodic_event_item_t *check_descriptor_event=NULL; static periodic_event_item_t *fetch_networkstatus_event=NULL; static periodic_event_item_t *launch_descriptor_fetches_event=NULL;