summaryrefslogtreecommitdiff
path: root/package/squid/patches/patch-src_HttpHeaderTools_cc
blob: e05cd934073804cecf0f16fd54240248f7361263 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- squid-3.0.STABLE20.orig/src/HttpHeaderTools.cc	2009-10-29 11:05:45.000000000 +0100
+++ squid-3.0.STABLE20/src/HttpHeaderTools.cc	2009-12-11 23:14:13.000000000 +0100
@@ -357,7 +357,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;
         }