diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-03-28 16:36:51 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-03-28 16:36:51 -0400 |
commit | 055a7a198a1517a6d1d37c4dac9ac8e925d7aa7d (patch) | |
tree | 53c7b4381e0d15b25801607407f1897c0682d118 /src/common/address.h | |
parent | 3220bd816b1a20eeb8bcaf562dc5382439bb00f7 (diff) | |
download | tor-055a7a198a1517a6d1d37c4dac9ac8e925d7aa7d.tar.gz tor-055a7a198a1517a6d1d37c4dac9ac8e925d7aa7d.zip |
Rename tor_dup_addr to tor_addr_to_str_dup.
Patch from icanhasaccount; closes 18462.
Diffstat (limited to 'src/common/address.h')
-rw-r--r-- | src/common/address.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/address.h b/src/common/address.h index 53712bde02..3de67e1c74 100644 --- a/src/common/address.h +++ b/src/common/address.h @@ -179,7 +179,7 @@ tor_addr_eq_ipv4h(const tor_addr_t *a, uint32_t u) #define TOR_ADDR_BUF_LEN 48 int tor_addr_lookup(const char *name, uint16_t family, tor_addr_t *addr_out); -char *tor_dup_addr(const tor_addr_t *addr) ATTR_MALLOC; +char *tor_addr_to_str_dup(const tor_addr_t *addr) ATTR_MALLOC; /** Wrapper function of fmt_addr_impl(). It does not decorate IPv6 * addresses. */ |