httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject Re: ap_get_virthost_addr
Date Wed, 16 Sep 1998 17:34:45 GMT
On Wed, 16 Sep 1998, Dean Gaudet wrote:

> Bleh.
> 
> That's only used for bindaddress/listen isn't it?  The easiest fix is to
> just remove the "const" from w, it's not required.

Yea.

I just wish I had a compiler that was smart enough to tell me about it...

> 
> Dean
> 
> On Wed, 16 Sep 1998, Marc Slemko wrote:
> 
> > unsigned long ap_get_virthost_addr(const char *w, unsigned short *ports)
> > [...]
> >     p = strchr(w, ':');
> > [...]
> >     if (p != NULL)
> >         *p = '\0';
> > 
> > Mmm?
> > 
> > 
> > 
> 


Mime
View raw message