mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
Wed Jan 28 12:09:00 CST 2009 Pekka Pessi <first.last@nokia.com>
* su_port.h, su_timer.c: refactored su_timer_next_expires() git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11855 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -394,7 +394,7 @@ gboolean su_source_prepare(GSource *gs, gint *return_tout)
|
||||
now.tv_sec = gtimeval.tv_sec + 2208988800UL;
|
||||
now.tv_usec = gtimeval.tv_usec;
|
||||
|
||||
tout = su_timer_next_expires(self->sup_base->sup_timers, now);
|
||||
tout = su_timer_next_expires(&self->sup_base->sup_timers, now);
|
||||
|
||||
*return_tout = (tout < 0 || tout > (su_duration_t)G_MAXINT)?
|
||||
-1 : (gint)tout;
|
||||
|
Reference in New Issue
Block a user