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/or/directory.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/or/directory.c')
-rw-r--r-- | src/or/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 9139dbcdd5..1241036912 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -1126,7 +1126,7 @@ directory_initiate_command_rend(const tor_addr_port_t *or_addr_port, /* set up conn so it's got all the data we need to remember */ tor_addr_copy(&conn->base_.addr, &addr); conn->base_.port = port; - conn->base_.address = tor_dup_addr(&addr); + conn->base_.address = tor_addr_to_str_dup(&addr); memcpy(conn->identity_digest, digest, DIGEST_LEN); conn->base_.purpose = dir_purpose; |