]>
Commit | Line | Data |
---|---|---|
d59549ad AM |
1 | Index: squid/src/cache_cf.c |
2 | diff -c squid/src/cache_cf.c:1.396.2.16 squid/src/cache_cf.c:1.396.2.17 | |
3 | *** squid/src/cache_cf.c:1.396.2.16 Sat Dec 6 10:19:36 2003 | |
4 | --- squid/src/cache_cf.c Thu Apr 29 17:56:50 2004 | |
5 | *************** | |
6 | *** 502,507 **** | |
7 | --- 502,511 ---- | |
8 | self_destruct(); | |
9 | if ((token = strtok(NULL, w_space)) == NULL) | |
10 | self_destruct(); | |
11 | + if (strcmp(token, "none") == 0 || strcmp(token, "-1") == 0) { | |
12 | + *bptr = (size_t) - 1; | |
13 | + return; | |
14 | + } | |
15 | d = atof(token); | |
16 | m = u; /* default to 'units' if none specified */ | |
17 | if (0.0 == d) |