]> git.pld-linux.org Git - packages/apinger.git/blob - apinger-avg_delay.patch
- disable parallel build
[packages/apinger.git] / apinger-avg_delay.patch
1 diff -dur -x '*~' apinger-0.6.1.orig/src/apinger.c apinger-0.6.1/src/apinger.c
2 --- apinger-0.6.1.orig/src/apinger.c    2003-03-26 12:24:59.000000000 +0100
3 +++ apinger-0.6.1/src/apinger.c 2006-03-24 08:37:26.000000000 +0100
4 @@ -586,7 +586,7 @@
5         timersub(&time_recv,&ti->timestamp,&tv);
6         delay=tv.tv_sec*1000.0+((double)tv.tv_usec)/1000.0;
7         debug("#%i from %s(%s) delay: %4.3fms",ti->seq,t->description,t->name,delay);
8 -       if (t->received>t->config->avg_delay_samples)
9 +       if (t->received >= t->config->avg_delay_samples)
10                 tmp=t->rbuf[t->received%t->config->avg_delay_samples];
11         else
12                 tmp=0;
This page took 0.044039 seconds and 3 git commands to generate.