Author: rjung Date: Sat Sep 16 15:13:30 2006 New Revision: 446962 URL: http://svn.apache.org/viewvc?view=rev&rev=446962 Log: Avoid compiler warning, keep code the same in Apache 1.3 and 2.0.
Modified: tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c Modified: tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c?view=diff&rev=446962&r1=446961&r2=446962 ============================================================================== --- tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c (original) +++ tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c Sat Sep 16 15:13:30 2006 @@ -1880,7 +1880,8 @@ translate and sets the handler directly ). We still need to know the worker. */ - if (worker_name = apr_table_get(r->subprocess_env, xconf->worker_indicator)) { + worker_name = apr_table_get(r->subprocess_env, xconf->worker_indicator); + if (worker_name) { /* The JkWorkerIndicator environment variable has * been used to explicitely set the worker without JkMount. * This is useful in combination with LocationMatch or mod_rewrite. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]