aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/circuitlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-07-14 14:28:33 -0400
committerNick Mathewson <nickm@torproject.org>2020-07-16 09:02:10 -0400
commitab428ef60b701075158f1c06676bcc394f0969b2 (patch)
treef5a800772ff36fa7d8b58fef917505d23bd8faca /src/core/or/circuitlist.c
parent4f4785a8c113806d00c6a31154956edb86c1639f (diff)
downloadtor-ab428ef60b701075158f1c06676bcc394f0969b2.tar.gz
tor-ab428ef60b701075158f1c06676bcc394f0969b2.zip
Collapse channel_get_*_remote_addr() into a single function.
Since we can list the real address and the canonical one in a human-readable format we don't need to pick.
Diffstat (limited to 'src/core/or/circuitlist.c')
-rw-r--r--src/core/or/circuitlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/or/circuitlist.c b/src/core/or/circuitlist.c
index 2455aa8779..af98af362a 100644
--- a/src/core/or/circuitlist.c
+++ b/src/core/or/circuitlist.c
@@ -619,7 +619,7 @@ circuit_count_pending_on_channel(channel_t *chan)
cnt = smartlist_len(sl);
smartlist_free(sl);
log_debug(LD_CIRC,"or_conn to %s, %d pending circs",
- channel_get_canonical_remote_descr(chan),
+ channel_describe_peer(chan),
cnt);
return cnt;
}