Re: external acl helper and url path

From: Matthew <mfn100@dont-contact.us>
Date: Thu, 22 Aug 2002 10:39:01 +0100

Hi Henrik,

> Thanks. Your patch has been applied to Squid-HEAD with a minor change to
> use strStr() rather than copying the urlpath.

Please forgive any misunderstandings that I have, but browsing CVS shows
that external_acl.c now contains the line:

  str = strStr(request->urlpath);

strStr is define in protos.h to be:

  #define strStr(s,str) ((const char*)strstr(strBuf(s), (str)))

When I try to compile external_acl.c I get:

  gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/tmp/squid/etc/squid.conf\"
  -I. -I. -I../include -I. -I. -I../include -I../include -g -Wall -c
  `test -f external_acl.c || echo './'`external_acl.c
  external_acl.c:523: macro `strStr' used with just one arg

I am guessing that there is a mistake here?

Regards

-- 
Matthew
Received on Thu Aug 22 2002 - 03:49:42 MDT

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