]> git.pld-linux.org Git - packages/squid.git/blob - squid-2.5.STABLE3-hostscomments.patch
- updated to 2.5.STABLE13
[packages/squid.git] / squid-2.5.STABLE3-hostscomments.patch
1 Index: squid/src/tools.c
2 diff -c squid/src/tools.c:1.213.2.6 squid/src/tools.c:1.213.2.8
3 *** squid/src/tools.c:1.213.2.6 Tue Apr 29 10:09:40 2003
4 --- squid/src/tools.c   Tue Jun 24 14:52:26 2003
5 ***************
6 *** 987,992 ****
7 --- 987,993 ----
8         char *addr;
9         if (buf[0] == '#')      /* MS-windows likes to add comments */
10             continue;
11 +       strtok(buf, "#");       /* chop everything following a comment marker */
12         lt = buf;
13         addr = buf;
14         debug(1, 5) ("etc_hosts: line is '%s'\n", buf);
This page took 0.028296 seconds and 3 git commands to generate.