]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
D'oh. This should not have made it in, until I had a chance to consult.
authorVictor J. Orlikowski <orlikowski@apache.org>
Wed, 4 Apr 2001 01:01:45 +0000 (01:01 +0000)
committerVictor J. Orlikowski <orlikowski@apache.org>
Wed, 4 Apr 2001 01:01:45 +0000 (01:01 +0000)
Backing it out...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@88709 13f79535-47bb-0310-9956-ffa450edef68

src/main/util_uri.c

index ac2e838fe463cb4fd1c1e94d885f09e658620e01..d73413c63ad4e7fb4fce751cd2d5a1ad6fb068c3 100644 (file)
@@ -421,7 +421,6 @@ API_EXPORT(int) ap_parse_uri_components(pool *p, const char *uri,
         if (s == NULL) {
             /* we expect the common case to have no port */
             uptr->hostname = ap_pstrndup(p, hostinfo, uri - hostinfo);
-            uptr->port = uptr->scheme ? ap_default_port_for_scheme(uptr->scheme) : DEFAULT_HTTP_PORT;
             goto deal_with_path;
         }
         uptr->hostname = ap_pstrndup(p, hostinfo, s - hostinfo);