From f62b051e873aa4be564e9f83745902d4541f79f4 Mon Sep 17 00:00:00 2001 From: teor Date: Thu, 30 Apr 2020 05:54:39 +1000 Subject: Rename tor_addr_get_ipv6_bytes to tor_addr_copy_ipv6_bytes This is an automated commit, generated by this command: ./scripts/maint/rename_c_identifier.py \ tor_addr_get_ipv6_bytes tor_addr_copy_ipv6_bytes --- src/lib/net/address.c | 2 +- src/lib/net/address.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/net') diff --git a/src/lib/net/address.c b/src/lib/net/address.c index 9a90093aef..af0e58fa4f 100644 --- a/src/lib/net/address.c +++ b/src/lib/net/address.c @@ -907,7 +907,7 @@ tor_addr_from_in6(tor_addr_t *dest, const struct in6_addr *in6) * src must be an IPv6 address, if it is not, log a warning, and clear * dest. */ void -tor_addr_get_ipv6_bytes(char *dest, const tor_addr_t *src) +tor_addr_copy_ipv6_bytes(char *dest, const tor_addr_t *src) { tor_assert(dest); tor_assert(src); diff --git a/src/lib/net/address.h b/src/lib/net/address.h index 651d6bc714..89b1cae322 100644 --- a/src/lib/net/address.h +++ b/src/lib/net/address.h @@ -309,7 +309,7 @@ void tor_addr_from_ipv6_bytes(tor_addr_t *dest, const char *bytes); #define tor_addr_from_in(dest, in) \ tor_addr_from_ipv4n((dest), (in)->s_addr); void tor_addr_from_in6(tor_addr_t *dest, const struct in6_addr *in6); -void tor_addr_get_ipv6_bytes(char *dest, const tor_addr_t *src); +void tor_addr_copy_ipv6_bytes(char *dest, const tor_addr_t *src); int tor_addr_is_null(const tor_addr_t *addr); int tor_addr_is_loopback(const tor_addr_t *addr); -- cgit v1.2.3-54-g00ecf