]> git.pld-linux.org Git - packages/squid.git/blob - squid-2.5.STABLE1-memstat.patch
- logs are NOT that important to crash if there is no space for them
[packages/squid.git] / squid-2.5.STABLE1-memstat.patch
1 Index: squid/src/stat.c
2 diff -c squid/src/stat.c:1.351.2.1 squid/src/stat.c:1.351.2.3
3 *** squid/src/stat.c:1.351.2.1  Sun Jul 21 17:54:29 2002
4 --- squid/src/stat.c    Sun Nov 10 09:59:44 2002
5 ***************
6 *** 1524,1533 ****
7       GENGRAPH(cputime, "cputime", "CPU utilisation");
8   }
9   
10   int
11   statMemoryAccounted(void)
12   {
13 !     memTotalAllocated();
14   }
15
16 - #endif /* STAT_GRAPHS */
17 --- 1524,1533 ----
18       GENGRAPH(cputime, "cputime", "CPU utilisation");
19   }
20   
21 + #endif /* STAT_GRAPHS */
22
23   int
24   statMemoryAccounted(void)
25   {
26 !     return memTotalAllocated();
27   }
This page took 0.027251 seconds and 3 git commands to generate.