summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-07-14 14:12:02 -0400
committerNick Mathewson <nickm@torproject.org>2020-07-16 09:02:10 -0400
commitf9aafcd64e69d602eb4284e530fe9b8973cf7406 (patch)
tree3822be6e601888365fa82e2ab3c56ad40b18a702
parentdb21e91f4bda5860dea2d817c1f707f57119abee (diff)
downloadtor-f9aafcd64e69d602eb4284e530fe9b8973cf7406.tar.gz
tor-f9aafcd64e69d602eb4284e530fe9b8973cf7406.zip
channelpadding: don't call method pointer directly.
-rw-r--r--src/core/or/channelpadding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/or/channelpadding.c b/src/core/or/channelpadding.c
index c754a58c42..0e88b8b3bd 100644
--- a/src/core/or/channelpadding.c
+++ b/src/core/or/channelpadding.c
@@ -265,7 +265,7 @@ channelpadding_update_padding_for_channel(channel_t *chan,
log_fn_ratelim(&relay_limit,LOG_PROTOCOL_WARN,LD_PROTOCOL,
"Got a PADDING_NEGOTIATE from relay at %s (%s). "
"This should not happen.",
- chan->get_remote_descr(chan, 0),
+ channel_get_canonical_remote_descr(chan),
hex_str(chan->identity_digest, DIGEST_LEN));
return -1;
}
@@ -399,7 +399,7 @@ channelpadding_send_padding_cell_for_callback(channel_t *chan)
"Sending netflow keepalive on %"PRIu64" to %s (%s) after "
"%"PRId64" ms. Delta %"PRId64"ms",
(chan->global_identifier),
- safe_str_client(chan->get_remote_descr(chan, 0)),
+ safe_str_client(channel_get_canonical_remote_descr(chan)),
safe_str_client(hex_str(chan->identity_digest, DIGEST_LEN)),
(monotime_coarse_diff_msec(&chan->timestamp_xfer,&now)),
(