FS-7066 FS-7253 FS-7231 #this part should be right

This commit is contained in:
Anthony Minessale 2015-02-17 20:55:10 -06:00
parent 68db163aad
commit b320c525c2
1 changed files with 1 additions and 1 deletions

View File

@ -416,7 +416,7 @@ static switch_status_t timerfd_start_interval(interval_timer_t *it, int interval
val.it_interval.tv_sec = interval / 1000;
val.it_interval.tv_nsec = (interval % 1000) * 1000000;
val.it_value.tv_sec = 0;
val.it_value.tv_nsec = 100000;
val.it_value.tv_nsec = val.it_interval.tv_nsec;
if (timerfd_settime(fd, TFD_TIMER_ABSTIME, &val, NULL) < 0) {
close(fd);