]> git.pld-linux.org Git - packages/squid.git/commitdiff
d0d8cfdf622e16bc6c023d1e5246abc8 squid-2.5.STABLE3-HttpHeaderTools.patch
authorankry <ankry@pld-linux.org>
Fri, 20 Jun 2003 10:44:46 +0000 (10:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    squid-2.5.STABLE3-HttpHeaderTools.patch -> 1.1

squid-2.5.STABLE3-HttpHeaderTools.patch [new file with mode: 0644]

diff --git a/squid-2.5.STABLE3-HttpHeaderTools.patch b/squid-2.5.STABLE3-HttpHeaderTools.patch
new file mode 100644 (file)
index 0000000..5ae9bc1
--- /dev/null
@@ -0,0 +1,30 @@
+Index: squid/src/HttpHeaderTools.c
+diff -c squid/src/HttpHeaderTools.c:1.32.2.1 squid/src/HttpHeaderTools.c:1.32.2.2
+*** squid/src/HttpHeaderTools.c:1.32.2.1       Tue May 20 17:51:15 2003
+--- squid/src/HttpHeaderTools.c        Mon May 26 06:14:27 2003
+***************
+*** 244,254 ****
+  strListGetItem(const String * str, char del, const char **item, int *ilen, const char **pos)
+  {
+      size_t len;
+!     char delim[2][3] =
+      {
+!      {'"', del, 0},
+       {'"', '\\', 0}};
+      int quoted = 0;
+      assert(str && item && pos);
+      if (*pos) {
+       if (!**pos)             /* end of string */
+--- 244,255 ----
+  strListGetItem(const String * str, char del, const char **item, int *ilen, const char **pos)
+  {
+      size_t len;
+!     static char delim[2][3] =
+      {
+!      {'"', 0, 0},
+       {'"', '\\', 0}};
+      int quoted = 0;
++     delim[0][1] = del;
+      assert(str && item && pos);
+      if (*pos) {
+       if (!**pos)             /* end of string */
This page took 0.090108 seconds and 4 git commands to generate.