mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 12:07:06 +00:00
timer mojo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4149 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
068ced69c9
commit
66feec2da5
5 files changed
+33
-17
No files matched your search
+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)
|
||||
SWITCH_DECLARE(switch_status_t) switch_core_timer_check(switch_timer_t *timer, uint32_t *diff)
|
||||
{
|
||||
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);
|
||||
return timer->timer_interface->timer_check(timer, diff);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user