MODENDP-215

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13174 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2009-04-28 03:58:37 +00:00
1 parent bab2f0bcf5
commit 9441425ef0
3 files changed
+28 -34

No files matched your search

+1 -1
View File
@@ -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);