summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.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/connection_edge.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/connection_edge.c')
-rw-r--r--src/or/connection_edge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 754e9762ea..0f523de1ee 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -2433,7 +2433,7 @@ connection_ap_handshake_send_resolve(entry_connection_t *ap_conn)
if (!base_conn->address) {
/* This might be unnecessary. XXXX */
- base_conn->address = tor_dup_addr(&base_conn->addr);
+ base_conn->address = tor_addr_to_str_dup(&base_conn->addr);
}
base_conn->state = AP_CONN_STATE_RESOLVE_WAIT;
log_info(LD_APP,"Address sent for resolve, ap socket "TOR_SOCKET_T_FORMAT