Re: [Squid-cvs] cygwin squid/src useragent.c,1.3.28.2,1.3.28.3

From: Duane Wessels <wessels@dont-contact.us>
Date: Wed, 11 Jul 2001 16:04:40 -0600 (MDT)

On Wed, 11 Jul 2001, Guido Serassio wrote:
 
> >And I think the check should be in logfileClose, not in each function
> >using it..
>
> This is a better solution, in logfileClose seems to be no protection from this.

It should be in each function using it. That is the way it is
currently done.

All of the logfile functions assume that their arguments are valid.
It is up to the caller to check for NULL pointers and such.

I want logfileClose(NULL) to be an error, just as fclose(NULL)
is an error.
Received on Wed Jul 11 2001 - 16:04:42 MDT

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