just use ap_strchr_c instead of ap_strchr.

Ryan

On Thursday 23 August 2001 13:42, Cliff Woolley wrote:
> On 23 Aug 2001 [EMAIL PROTECTED] wrote:
> > wrowe       01/08/23 12:42:44
> >
> >   Modified:    modules/ssl mod_ssl.h ssl_engine_config.c
> > ssl_engine_init.c Log:
> >     Add some appropriate constness to the config
> >
> >   Revision  Changes    Path
> >   1.30      +17 -17    httpd-2.0/modules/ssl/mod_ssl.h
>
> ...
>
> >   -    char        *szPassPhraseDialogPath;
> >   +    const char  *szPassPhraseDialogPath;
>
> This change is causing a warning about loss of constness now at
> ssl_engine_pphrase.c:535 because szPassPhraseDialogPath is passed to
> ap_strchr() which does not qualify its argument as const.  Should this
> line be backed down to char * or does something else need to be done?
>
> --Cliff
>
> --------------------------------------------------------------
>    Cliff Woolley
>    [EMAIL PROTECTED]
>    Charlottesville, VA

-- 

______________________________________________________________
Ryan Bloom                              [EMAIL PROTECTED]
Covalent Technologies                   [EMAIL PROTECTED]
--------------------------------------------------------------

Reply via email to