mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Fix a warning about a shadowed global
This commit is contained in:
parent
ef2248d09b
commit
7751df61ca
@ -402,10 +402,10 @@ channelpadding_send_padding_cell_for_callback(channel_t *chan)
|
||||
*/
|
||||
static void
|
||||
channelpadding_send_padding_callback(tor_timer_t *timer, void *args,
|
||||
const struct monotime_t *time)
|
||||
const struct monotime_t *when)
|
||||
{
|
||||
channel_t *chan = channel_handle_get((struct channel_handle_t*)args);
|
||||
(void)timer; (void)time;
|
||||
(void)timer; (void)when;
|
||||
|
||||
if (chan && CHANNEL_CAN_HANDLE_CELLS(chan)) {
|
||||
/* Hrmm.. It might be nice to have an equivalent to assert_connection_ok
|
||||
|
Loading…
Reference in New Issue
Block a user