tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit f9aafcd64e69d602eb4284e530fe9b8973cf7406
parent db21e91f4bda5860dea2d817c1f707f57119abee
Author: Nick Mathewson <nickm@torproject.org>
Date:   Tue, 14 Jul 2020 14:12:02 -0400

channelpadding: don't call method pointer directly.

Diffstat:
Msrc/core/or/channelpadding.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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)), (