tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@ebuilt.com>
Subject [PATCH] mod_webapp and Apache 2.0
Date Wed, 05 Dec 2001 08:34:21 GMT
Gets rid of lame warnings against latest httpd-2.0 and APR.
-- justin

Index: webapp/apache-2.0/mod_webapp.c
===================================================================
RCS file: /home/cvspublic/jakarta-tomcat-connectors/webapp/apache-2.0/mod_webapp.c,v
retrieving revision 1.6
diff -u -r1.6 mod_webapp.c
--- webapp/apache-2.0/mod_webapp.c	2001/11/01 22:20:51	1.6
+++ webapp/apache-2.0/mod_webapp.c	2001/12/05 08:14:13
@@ -70,6 +70,7 @@
 #include <util_script.h>
 #include <wa.h>
 #include <apr_tables.h>
+#include <apr_lib.h>
 
 /* ************************************************************************* */
 /* GENERIC DECLARATIONS                                                      */
@@ -477,7 +478,7 @@
 
     /* Copy headers into webapp request structure */
     if (r->headers_in!=NULL) {
-        apr_array_header_t *arr=apr_table_elts(r->headers_in);
+        const apr_array_header_t *arr=apr_table_elts(r->headers_in);
         apr_table_entry_t *ele=(apr_table_entry_t *)arr->elts;
         int x=0;
 


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message