tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r560831 - /tomcat/connectors/trunk/jk/native/netscape/jk_nsapi_plugin.c
Date Sun, 29 Jul 2007 22:50:01 GMT
Author: rjung
Date: Sun Jul 29 15:49:50 2007
New Revision: 560831

URL: http://svn.apache.org/viewvc?view=rev&rev=560831
Log:
Don't use attribute, if it is null.
This will crash nsapi, in case debug log is active.

Modified:
    tomcat/connectors/trunk/jk/native/netscape/jk_nsapi_plugin.c

Modified: tomcat/connectors/trunk/jk/native/netscape/jk_nsapi_plugin.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/netscape/jk_nsapi_plugin.c?view=diff&rev=560831&r1=560830&r2=560831
==============================================================================
--- tomcat/connectors/trunk/jk/native/netscape/jk_nsapi_plugin.c (original)
+++ tomcat/connectors/trunk/jk/native/netscape/jk_nsapi_plugin.c Sun Jul 29 15:49:50 2007
@@ -275,7 +275,9 @@
                 jk_log(logger, JK_LOG_ERROR, "Error in resolving configuration references");
             }
 
-            jk_map_add(init_map, "worker." REJECT_UNSAFE_TAG, reject_unsafe); 
+            if (reject_unsafe) {
+                jk_map_add(init_map, "worker." REJECT_UNSAFE_TAG, reject_unsafe); 
+            }
             s = systhread_start(SYSTHREAD_DEFAULT_PRIORITY,
                                 0, init_workers_on_other_threads, init_map);
             for (sleep_cnt = 0; sleep_cnt < 60; sleep_cnt++) {



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


Mime
View raw message