Browse Source

Fix a warning about a shadowed global

Nick Mathewson 7 years ago
parent
commit
7751df61ca
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/or/channelpadding.c

+ 2 - 2
src/or/channelpadding.c

@@ -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