External ACL

From: Matthew <mfn100@dont-contact.us>
Date: Wed, 19 Dec 2001 17:32:24 +0000

Hi,

I've noticed a line of code in external_acl.c that seems a bit mis-typed:

> if (strncmp(token, "ttl=", 4) == 0) {
> a->ttl = atoi(token + 3);

surely, it should be "token + 4" instead of "+ 3":

> if (strncmp(token, "ttl=", 4) == 0) {
> a->ttl = atoi(token + 4);

While I'm here I'd just like to point out (I'm sure Henrik already
knows) that http://devel.squid-cache.org/external_acl/config.html is now
out of date with the recent changes. The change of directive name had
me stuck for a bit until I looked at the new squid.conf.default!

Thanks.

--
Matthew
Received on Wed Dec 19 2001 - 10:42:21 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:40 MST