httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <>
Subject bug in mod_log_referer.c
Date Mon, 06 May 1996 09:24:05 GMT

I noticed a bug in mod_log_referer.c

It was not checking a 2nd ignore string I gave it. The code that's
stepping through the list of ignore strings looks hosed... Seems to be
doing an erroneous comparison in order to determine the end of the loop
that steps through the list  (line 200)

The comments preceeding this say

          /* The following is an upsetting mess of pointers, I'm sorry
             Anyone with the motiviation and/or the time should feel free
             to make this cleaner... */

It needs to be made cleaner now  :-)

If anyone can see the error just my glancing at the code, please
point it out, otherwise I'll rearrange the code to use a simple
for n=first to last   loop to grab each ignore string from the list.

   Windows NT  -  where programs go to die.

View raw message