tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 46f4f82ac90d8a87d43b6da23ebffc849d77911b
parent f8ecf01cc1bbe8a483623a05161276c5ae8bbd54
Author: Roger Dingledine <arma@torproject.org>
Date:   Fri, 27 Mar 2020 03:46:54 -0400

correct tor_addr_family() function comment

kind of a losing game to remember to update that comment when
we add another possible family, but hey, maybe it will be a while
until we add one more.

Diffstat:
Msrc/lib/net/address.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/net/address.h b/src/lib/net/address.h @@ -177,7 +177,7 @@ tor_addr_to_mapped_ipv4h(const tor_addr_t *a) } /** Return the address family of <b>a</b>. Possible values are: - * AF_INET6, AF_INET, AF_UNSPEC. */ + * AF_INET6, AF_INET, AF_UNSPEC, AF_UNIX. */ static inline sa_family_t tor_addr_family(const tor_addr_t *a) {