]> git.pld-linux.org Git - packages/squid.git/commitdiff
c3d48a2b4fc26c0d90eb4c30ae34d3d6 squid-2.3.stable4-carp-assertion.patch
authormkochano <mkochano@pld-linux.org>
Sat, 2 Dec 2000 19:02:21 +0000 (19:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    squid-2.3.stable4-carp-assertion.patch -> 1.1

squid-2.3.stable4-carp-assertion.patch [new file with mode: 0644]

diff --git a/squid-2.3.stable4-carp-assertion.patch b/squid-2.3.stable4-carp-assertion.patch
new file mode 100644 (file)
index 0000000..b059b58
--- /dev/null
@@ -0,0 +1,25 @@
+Index: src/carp.c
+===================================================================
+RCS file: /server/cvs-server/squid/squid/src/carp.c,v
+retrieving revision 1.6.8.4
+retrieving revision 1.6.8.5
+diff -c -r1.6.8.4 -r1.6.8.5
+*** src/carp.c 2000/05/17 23:49:51     1.6.8.4
+--- src/carp.c 2000/08/01 21:59:44     1.6.8.5
+***************
+*** 60,66 ****
+       * sum of carp-load-factor's for all cache_peer's in squid.conf
+       * must equal 1.0
+       */
+!     assert(a == 1.0);
+      k = 1;
+      P_last = 0;
+      p = Config.peers;
+--- 60,66 ----
+       * sum of carp-load-factor's for all cache_peer's in squid.conf
+       * must equal 1.0
+       */
+!     assert(1000 == (int) (1000.0 * a));
+      k = 1;
+      P_last = 0;
+      p = Config.peers;
This page took 0.19743 seconds and 4 git commands to generate.