tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r411538 - /tomcat/connectors/trunk/jk/native/common/jk_map.c
Date Sun, 04 Jun 2006 08:43:49 GMT
Author: mturk
Date: Sun Jun  4 01:43:48 2006
New Revision: 411538

URL: http://svn.apache.org/viewvc?rev=411538&view=rev
Log:
Add checking for deprecated directives.
This is TODO, because we would need to pass the
logger to jk_map functions.

Modified:
    tomcat/connectors/trunk/jk/native/common/jk_map.c

Modified: tomcat/connectors/trunk/jk/native/common/jk_map.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_map.c?rev=411538&r1=411537&r2=411538&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_map.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_map.c Sun Jun  4 01:43:48 2006
@@ -382,6 +382,12 @@
                     v = tmpv;
                 }
                 else {
+                    if (jk_is_deprecated_property(prp)) {
+                        /* TODO: Log deprecated directive.
+                         * It would require to pass the jk_log_t
+                         * to jk_map_ functions.
+                         */    
+                    }
                     v = jk_pool_strdup(&m->p, v);
                 }
                 if (v) {
@@ -421,7 +427,7 @@
             while (NULL != (prp = fgets(buf, LENGTH_OF_LINE, fp))) {
                 trim_prp_comment(prp);
                 if (*prp) {
-                    if ((rc =jk_map_read_property(m, prp)) == JK_FALSE)
+                    if ((rc = jk_map_read_property(m, prp)) == JK_FALSE)
                         break;
                 }
             }



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


Mime
View raw message