From a01131d813946a99aa5206633a524855c3b6f58c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 22 Jun 2009 22:19:16 +0200 Subject: fix make allmodconfig on mips (rb532) --- package/squid/patch-src_HttpHeaderTools_cc | 11 ----------- package/squid/patches/patch-src_HttpHeaderTools_cc | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 package/squid/patch-src_HttpHeaderTools_cc create mode 100644 package/squid/patches/patch-src_HttpHeaderTools_cc (limited to 'package/squid') diff --git a/package/squid/patch-src_HttpHeaderTools_cc b/package/squid/patch-src_HttpHeaderTools_cc deleted file mode 100644 index 3b456ebf5..000000000 --- a/package/squid/patch-src_HttpHeaderTools_cc +++ /dev/null @@ -1,11 +0,0 @@ ---- 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; - } 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; + } -- cgit v1.2.3