Hi Henrik,
Il 07.34 11/07/2001 Henrik Nordstrom ha scritto:
>Shouldn't that be != NULL?
Absolutely true !!! Another my mistake, sorry ....
>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.
Guido
>--
>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.html
-
=======================================================
Serassio Guido
Via Albenga, 11/4                                       10134 - Torino - ITALY
Tel. : +39.011.610749
E-mail: serassio@interfree.it
         serassio@libero.it
WWW: http://www.serassio.it
Received on Wed Jul 11 2001 - 14:15:56 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:06 MST