Strictly not needed since we replace r->hostname at the end of the function, but it certainly doesn't hurt either. Thanks for making the change! :-) Cheers, -g On Wed, Feb 21, 2001 at 12:58:59AM -0000, [EMAIL PROTECTED] wrote: > wrowe 01/02/20 16:58:58 > > Modified: src/main http_vhost.c > Log: > Whoops ... have a new string, and forgot to remember it. > > Revision Changes Path > 1.29 +1 -0 apache-1.3/src/main/http_vhost.c > > Index: http_vhost.c > =================================================================== > RCS file: /home/cvs/apache-1.3/src/main/http_vhost.c,v > retrieving revision 1.28 > retrieving revision 1.29 > diff -u -r1.28 -r1.29 > --- http_vhost.c 2001/02/21 00:36:37 1.28 > +++ http_vhost.c 2001/02/21 00:58:56 1.29 > @@ -708,6 +708,7 @@ > > /* check and copy the host part */ > src = ap_pstrdup(r->pool, r->hostname); > + r->hostname = src; > /* unescape the hostname first */ > if (ap_unescape_url(src) != OK) { > goto bad; > > > -- Greg Stein, http://www.lyra.org/