Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 8650 invoked by uid 500); 21 Feb 2001 02:41:23 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 8639 invoked from network); 21 Feb 2001 02:41:21 -0000 X-Authentication-Warning: kurgan.lyra.org: gstein set sender to gstein@lyra.org using -f Date: Tue, 20 Feb 2001 18:44:08 -0800 From: Greg Stein To: new-httpd@apache.org Subject: Re: cvs commit: apache-1.3/src/main http_vhost.c Message-ID: <20010220184408.J29904@lyra.org> Mail-Followup-To: new-httpd@apache.org References: <20010221005859.25205.qmail@apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20010221005859.25205.qmail@apache.org>; from wrowe@apache.org on Wed, Feb 21, 2001 at 12:58:59AM -0000 X-URL: http://www.lyra.org/greg/ X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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, wrowe@apache.org 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/