mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
timer mojo (cont)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4151 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
+2
-2
@@ -1321,14 +1321,14 @@ SWITCH_DECLARE(switch_status_t) switch_core_timer_step(switch_timer_t *timer)
|
||||
return timer->timer_interface->timer_step(timer);
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_core_timer_check(switch_timer_t *timer, uint32_t *diff)
|
||||
SWITCH_DECLARE(switch_status_t) switch_core_timer_check(switch_timer_t *timer)
|
||||
{
|
||||
if (!timer->timer_interface) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Timer is not initilized!\n");
|
||||
return SWITCH_STATUS_GENERR;
|
||||
}
|
||||
|
||||
return timer->timer_interface->timer_check(timer, diff);
|
||||
return timer->timer_interface->timer_check(timer);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user