summaryrefslogtreecommitdiff
path: root/package/squid/patches/patch-src_HttpHeaderTools_cc
diff options
context:
space:
mode:
Diffstat (limited to 'package/squid/patches/patch-src_HttpHeaderTools_cc')
-rw-r--r--package/squid/patches/patch-src_HttpHeaderTools_cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/squid/patches/patch-src_HttpHeaderTools_cc b/package/squid/patches/patch-src_HttpHeaderTools_cc
new file mode 100644
index 000000000..3b456ebf5
--- /dev/null
+++ b/package/squid/patches/patch-src_HttpHeaderTools_cc
@@ -0,0 +1,11 @@
+--- squid-3.0.STABLE15.orig/src/HttpHeaderTools.cc 2009-05-06 13:11:40.000000000 +0200
++++ squid-3.0.STABLE15/src/HttpHeaderTools.cc 2009-06-15 18:29:41.000000000 +0200
+@@ -356,7 +356,7 @@ httpHeaderParseQuotedString (const char
+ pos = start + 1;
+
+ while (1) {
+- if (!(end = index (pos,'"'))) {
++ if (!(end = strchr (pos,'"'))) {
+ debugs(66, 2, "failed to parse a quoted-string header field near '" << start << "'");
+ return 0;
+ }