summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/timer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/timer.c b/src/timer.c
index 9ec7a005..02160a10 100644
--- a/src/timer.c
+++ b/src/timer.c
@@ -60,10 +60,10 @@ static void __add_timer(struct osmo_timer_list *timer)
new = &((*new)->rb_left);
else
new = &((*new)->rb_right);
- }
+ }
- rb_link_node(&timer->node, parent, new);
- rb_insert_color(&timer->node, &timer_root);
+ rb_link_node(&timer->node, parent, new);
+ rb_insert_color(&timer->node, &timer_root);
}
/*! set up timer callback and data