diff options
author | teor <teor@torproject.org> | 2020-04-30 05:54:39 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2020-04-30 05:54:39 +1000 |
commit | f62b051e873aa4be564e9f83745902d4541f79f4 (patch) | |
tree | 54500126c0d02cc0103c9bbc6964a603d9ca3f4c /src/lib/net/address.h | |
parent | 528a1fe985fbcbd348825c5ab98d0e9018453c5b (diff) | |
download | tor-f62b051e873aa4be564e9f83745902d4541f79f4.tar.gz tor-f62b051e873aa4be564e9f83745902d4541f79f4.zip |
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
Diffstat (limited to 'src/lib/net/address.h')
-rw-r--r-- | src/lib/net/address.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |