Shouldn't that be != NULL?
And I think the check should be in logfileClose, not in each function
using it..
-- Henrik Guido Serassio wrote: > > Update of /cvsroot/squid/squid/src > In directory usw-pr-cvs1:/tmp/cvs-serv12821/src > > Modified Files: > Tag: cygwin > useragent.c > Log Message: > Splitted Windows section from OS/2 in configure.in > > Index: useragent.c > =================================================================== > RCS file: /cvsroot/squid/squid/src/useragent.c,v > retrieving revision 1.3.28.2 > retrieving revision 1.3.28.3 > diff -w -u -r1.3.28.2 -r1.3.28.3 > --- useragent.c 2001/05/21 21:10:28 1.3.28.2 > +++ useragent.c 2001/07/10 20:25:43 1.3.28.3 > @@ -87,6 +87,7 @@ > useragentLogClose(void) > { > #if USE_USERAGENT_LOG > + if (NULL == useragentlog) > logfileClose(useragentlog); > useragentlog = NULL; > #endif > > _______________________________________________ > Squid-cvs mailing list > http://squid.sourceforge.net/projects.htmlReceived on Wed Jul 11 2001 - 00:24:27 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:06 MST