FSCORE-639 with some additional changes

This commit is contained in:
Anthony Minessale committed 2010-07-29 17:41:33 -05:00
1 parent 5c6a1f44ad
commit d6d7773ca4
6 files changed
+144 -66

No files matched your search

+1 -4
View File
@@ -550,10 +550,7 @@ static switch_status_t timer_sync(switch_timer_t *timer)
private_info->reference = timer->tick = TIMER_MATRIX[timer->interval].tick;
/* apply timestamp */
if (timer_step(timer) == SWITCH_STATUS_SUCCESS) {
/* push the reference into the future to prevent collision */
private_info->reference++;
}
timer_step(timer);
return SWITCH_STATUS_SUCCESS;
}