]> git.pld-linux.org Git - packages/squid.git/blob - squid-domainmatch.patch
- uniformized configs to use system-auth where possible
[packages/squid.git] / squid-domainmatch.patch
1 diff -urN squid-2.6.STABLE5.orig/src/acl.c squid-2.6.STABLE5/src/acl.c
2 --- squid-2.6.STABLE5.orig/src/acl.c    2006-10-16 22:11:41.000000000 +0200
3 +++ squid-2.6.STABLE5/src/acl.c 2006-11-28 18:10:47.089402554 +0100
4 @@ -843,7 +843,7 @@
5      while ((t = strtokFile())) {
6         Tolower(t);
7         t = xstrdup(t);
8 -       *Top = splay_insert(t, *Top, aclDomainCompare);
9 +       *Top = splay_insert(t, *Top, aclHostDomainCompare);
10         if (splayLastResult == 0)
11             safe_free(t);
12      }
13 @@ -869,7 +869,7 @@
14      Top = &(*datap)->values;
15      while ((t = strtokFile())) {
16         t = xstrdup(t);
17 -       *Top = splay_insert(t, *Top, aclDomainCompare);
18 +       *Top = splay_insert(t, *Top, aclHostDomainCompare);
19         if (splayLastResult == 0)
20             safe_free(t);
21      }
This page took 0.028711 seconds and 3 git commands to generate.