mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
channelpadding: don't call method pointer directly.
This commit is contained in:
@@ -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)),
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user