]> git.pld-linux.org Git - packages/squid.git/blob - squid-2.5.STABLE10-statHistAssert.patch
This commit was manufactured by cvs2git to create branch 'RA-branch'.
[packages/squid.git] / squid-2.5.STABLE10-statHistAssert.patch
1 Index: squid/src/StatHist.c
2 diff -c squid/src/StatHist.c:1.26 squid/src/StatHist.c:1.26.2.1
3 *** squid/src/StatHist.c:1.26   Wed Oct 24 02:19:08 2001
4 --- squid/src/StatHist.c        Thu Sep  1 15:52:23 2005
5 ***************
6 *** 90,96 ****
7       /* a max value should go into the last bin */
8       assert(statHistBin(H, max) == H->capacity - 1);
9       /* it is hard to test val_out, here is a crude test */
10 !     assert(((int) floor(0.99L + statHistVal(H, 0) - min)) == 0);
11   }
12   
13   void
14 --- 90,96 ----
15       /* a max value should go into the last bin */
16       assert(statHistBin(H, max) == H->capacity - 1);
17       /* it is hard to test val_out, here is a crude test */
18 !     assert(((int) floor(0.99 + statHistVal(H, 0) - min)) == 0);
19   }
20   
21   void
This page took 0.039403 seconds and 3 git commands to generate.