mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 20:47:06 +00:00
MODENDP-215
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13174 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
bab2f0bcf5
commit
9441425ef0
3 files changed
+28
-34
No files matched your search
+1
-1
@@ -327,7 +327,7 @@ static switch_status_t timer_next(switch_timer_t *timer)
|
||||
int delta = (int)(private_info->reference - TIMER_MATRIX[timer->interval].tick);
|
||||
|
||||
/* sync up timer if it's not been called for a while otherwise it will return instantly several times until it catches up */
|
||||
if (delta < 0) {
|
||||
if (delta < -1) {
|
||||
private_info->reference = timer->tick = TIMER_MATRIX[timer->interval].tick;
|
||||
}
|
||||
timer_step(timer);
|
||||
|
||||
Reference in new issue
Block a user