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.c | |
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.c')
-rw-r--r-- | src/common/address.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/address.c b/src/common/address.c index 793a40effc..a6e0f3f491 100644 --- a/src/common/address.c +++ b/src/common/address.c @@ -1172,7 +1172,7 @@ tor_addr_hash(const tor_addr_t *addr) /** Return a newly allocated string with a representation of <b>addr</b>. */ char * -tor_dup_addr(const tor_addr_t *addr) +tor_addr_to_str_dup(const tor_addr_t *addr) { char buf[TOR_ADDR_BUF_LEN]; if (tor_addr_to_str(buf, addr, sizeof(buf), 0)) { |