tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From G√ľnter Knauf <efl...@gmx.net>
Subject [PATHCH] ./jk/native2/server/apache2/jk_service_apache2.c
Date Wed, 21 Jan 2004 13:08:28 GMT
# patch for APR 1.0 compatiblity
#
--- jk_service_apache2.c.orig	Tue Sep 30 18:16:14 2003
+++ jk_service_apache2.c	Wed Jan 21 04:23:32 2004
@@ -377,8 +377,7 @@
                              r->server->server_hostname);
 
     /* get the real port (otherwise redirect failed) */
-    apr_sockaddr_port_get(&port,r->connection->local_addr);
-    s->server_port = port;
+    s->server_port = r->connection->local_addr->port;
 
     s->server_software = (char *)ap_get_server_version();

Guenter.



Mime
View raw message