Guest User

Untitled

a guest
Jan 24th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. diff --git a/src/timer.c b/src/timer.c
  2. index 6852983..7bc2690 100644
  3. --- a/src/timer.c
  4. +++ b/src/timer.c
  5. @@ -134,10 +134,10 @@ struct timeval *osmo_timers_nearest(void)
  6. {
  7. static struct timeval no_timers = { 0, 0 };
  8.  
  9. - if (nearest_p != NULL && !timerisset(nearest_p))
  10. + if (nearest_p != NULL)
  11. return nearest_p;
  12. else
  13. - return &no_timers;
  14. + return NULL;
  15. }
  16.  
  17. static void update_nearest(struct timeval *cand, struct timeval *current)
Add Comment
Please, Sign In to add comment