httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk-Willem van Gulik <dirk.vangu...@jrc.it>
Subject Re: [BUILD] ap_get_basic_auth_pw
Date Fri, 03 Jul 1998 20:27:18 GMT


On Fri, 3 Jul 1998, Ben Laurie wrote:

> Dirk-Willem van Gulik wrote:
> > 
> > On Thu, 2 Jul 1998, Ben Hyde wrote: about build errors.
> > 
> > Yup, it is because we (now?) have in .include/http_protocol.h
> > 
> >         API_EXPORT(int)
> >                 ap_get_basic_auth_pw(request_rec *r, const char **pw)
> > 
> > i.e. the const char, rather than the char ** each of the auth modules
> > is using (auth, dbm, gdbm, *sql and anon). Same for the req_array
> > in a few places as well.
> > 
> > Anyone relegious ? Not sure _why_ the const was added, but it seems to
> > make sense to mo. Otherwise I propose the following patch; which just
> > addes the const to the declaration in the modules.
> 
> The const was added (by me) coz it was wrong for it to not be const.

Ok, so +1 for previos patch.

DW> 
> Ben.
> 
> -- 
> Ben Laurie            |Phone: +44 (181) 735 0686| Apache Group member
> Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org/
> and Technical Director|Email: ben@algroup.co.uk |
> A.L. Digital Ltd,     |Apache-SSL author     http://www.apache-ssl.org/
> London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache/
> 
> WE'RE RECRUITING! http://www.aldigital.co.uk/recruit/
> 


Mime
View raw message