patch-src_HttpHeaderTools_cc 487 B

1234567891011
  1. --- squid-3.0.STABLE20.orig/src/HttpHeaderTools.cc 2009-10-29 11:05:45.000000000 +0100
  2. +++ squid-3.0.STABLE20/src/HttpHeaderTools.cc 2009-12-11 23:14:13.000000000 +0100
  3. @@ -357,7 +357,7 @@ httpHeaderParseQuotedString (const char
  4. pos = start + 1;
  5. while (1) {
  6. - if (!(end = index (pos,'"'))) {
  7. + if (!(end = strchr (pos,'"'))) {
  8. debugs(66, 2, "failed to parse a quoted-string header field near '" << start << "'");
  9. return 0;
  10. }