Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/timer.c b/src/timer.c
- index 6852983..7bc2690 100644
- --- a/src/timer.c
- +++ b/src/timer.c
- @@ -134,10 +134,10 @@ struct timeval *osmo_timers_nearest(void)
- {
- static struct timeval no_timers = { 0, 0 };
- - if (nearest_p != NULL && !timerisset(nearest_p))
- + if (nearest_p != NULL)
- return nearest_p;
- else
- - return &no_timers;
- + return NULL;
- }
- static void update_nearest(struct timeval *cand, struct timeval *current)
Add Comment
Please, Sign In to add comment