summaryrefslogtreecommitdiff
path: root/src/or/channel.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-03-28 16:36:51 -0400
committerNick Mathewson <nickm@torproject.org>2016-03-28 16:36:51 -0400
commit055a7a198a1517a6d1d37c4dac9ac8e925d7aa7d (patch)
tree53c7b4381e0d15b25801607407f1897c0682d118 /src/or/channel.c
parent3220bd816b1a20eeb8bcaf562dc5382439bb00f7 (diff)
downloadtor-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/or/channel.c')
-rw-r--r--src/or/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/channel.c b/src/or/channel.c
index 5f69a0864b..f3939399b0 100644
--- a/src/or/channel.c
+++ b/src/or/channel.c
@@ -3510,7 +3510,7 @@ channel_dump_statistics, (channel_t *chan, int severity))
have_remote_addr = channel_get_addr_if_possible(chan, &remote_addr);
if (have_remote_addr) {
char *actual = tor_strdup(channel_get_actual_remote_descr(chan));
- remote_addr_str = tor_dup_addr(&remote_addr);
+ remote_addr_str = tor_addr_to_str_dup(&remote_addr);
tor_log(severity, LD_GENERAL,
" * Channel " U64_FORMAT " says its remote address"
" is %s, and gives a canonical description of \"%s\" and an "