]> git.pld-linux.org Git - packages/squid.git/blob - squid-2.5.STABLE11-delaypools_truncated.patch
This commit was manufactured by cvs2git to create branch 'RA-branch'.
[packages/squid.git] / squid-2.5.STABLE11-delaypools_truncated.patch
1 Index: squid/src/delay_pools.c
2 diff -c squid/src/delay_pools.c:1.19.2.9 squid/src/delay_pools.c:1.19.2.10
3 *** squid/src/delay_pools.c:1.19.2.9    Sat Sep 10 19:49:53 2005
4 --- squid/src/delay_pools.c     Tue Sep 27 16:25:30 2005
5 ***************
6 *** 676,683 ****
7             d = sc->delay_id;
8         }
9       }
10 !     if (jmax >= 0 && jmax < (int) *read_sz)
11         *read_sz = (size_t) jmax;
12       return d;
13   }
14   
15 --- 676,686 ----
16             d = sc->delay_id;
17         }
18       }
19 !     if (jmax >= 0 && jmax < (int) *read_sz) {
20 !       if (jmax == 0)
21 !           jmax = 1;
22         *read_sz = (size_t) jmax;
23 +     }
24       return d;
25   }
26   
This page took 0.071151 seconds and 3 git commands to generate.