httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@gonzo.ben.algroup.co.uk>
Subject Re: cookie death in 1.1b0
Date Mon, 19 Feb 1996 06:50:06 GMT
> 
> > 
> > Anyone make sense of this......
> > 
> 
> 
> Try changing the ++i to i++. That should do it.

Huh? That should make absolutely no difference whatsoever.

Cheers,

Ben.

> 
> 
> 
> > In http_protocol.c we have....
> > 
> >     for (i = 0; i < hdrs_arr->nelts; ++i) {
> >         if (!hdrs[i].key) continue;
> >         fprintf (fd, "%s: %s\015\012", hdrs[i].key, hdrs[i].val);
> >     }
> > 
> >     for (i = 0; i < err_hdrs_arr->nelts; ++i) {
> >         if (!err_hdrs[i].key) continue;
> >         fprintf (fd, "%s: %s\015\012", err_hdrs[i].key, err_hdrs[i].val);
> >     }
> > 
> > -=-=-=-=
> > 
> > Maybe the "if"s need to be replaced with
> > 
> >    if (!hdrs[i].key || !!hdrs[i].val) continue;
> > and
> >    if (!err_hdrs[i].key || !err_hdrs[i].val) continue;
> > 
> > 
> > Just to be safe?
> > 
> > 
> > 
> > rob
> 
> 
> 

-- 
Ben Laurie                  Phone: +44 (181) 994 6435
Freelance Consultant and    Fax:   +44 (181) 994 6472
Technical Director          Email: ben@algroup.co.uk
A.L. Digital Ltd,           URL: http://www.algroup.co.uk
London, England.

Mime
View raw message