update asterisk16 to 1.6.2.6 and apply fix from #6255; thanks swalker
[packages.git] / net / iperf / patches / 001-set-report-next-time-in-single-thread-mode.patch
1 --- a/src/Reporter.c
2 +++ b/src/Reporter.c
3 @@ -309,6 +309,11 @@ ReportHeader* InitReport( thread_Setting
4  #else
5          // set start time
6          gettimeofday( &(reporthdr->report.startTime), NULL );
7 +
8 +       // set next time
9 +       reporthdr->report.nextTime = reporthdr->report.startTime;
10 +       TimeAdd( reporthdr->report.nextTime, reporthdr->report.intervalTime );
11 +
12          /*
13           * Process the report in this thread
14           */