commit 46f4f82ac90d8a87d43b6da23ebffc849d77911b Author: Roger Dingledine arma@torproject.org Date: Fri Mar 27 03:46:54 2020 -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. --- src/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 index 815fb0228..498449493 100644 --- 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) {