Re: External ACL

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 19 Dec 2001 20:53:16 +0100

Many thanks for noticing the error. Fixed.

Regards
Henrik

Matthew wrote:
>
> 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 - 12:53:34 MST

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