httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: cvs commit: httpd-2.0/server config.c
Date Sun, 07 Jan 2001 23:06:01 GMT
Ben Laurie wrote:
> > >           /* MIME type arguments */
> > >                while (p > handler && p[-1] == ' ')
> > >               --p;            /* strip trailing spaces */
> > >   -       handler_len = p - handler;
> > >   +       *p='\0';
> >
> > How does this work? p is "const char *".
> 
> Good question! My compiler compiles it! What gives?

Sigh. It's -Werror disappearing. I keep forgetting it doesn't go in by
default. Please can we fix that?

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff

Mime
View raw message