tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1174270 - in /tomcat/jk/trunk/native: apache-1.3/mod_jk.c apache-2.0/mod_jk.c
Date Thu, 22 Sep 2011 17:18:17 GMT
Author: rjung
Date: Thu Sep 22 17:18:16 2011
New Revision: 1174270

URL: http://svn.apache.org/viewvc?rev=1174270&view=rev
Log:
Use existing string constant instead of explicit value.

Modified:
    tomcat/jk/trunk/native/apache-1.3/mod_jk.c
    tomcat/jk/trunk/native/apache-2.0/mod_jk.c

Modified: tomcat/jk/trunk/native/apache-1.3/mod_jk.c
URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/native/apache-1.3/mod_jk.c?rev=1174270&r1=1174269&r2=1174270&view=diff
==============================================================================
--- tomcat/jk/trunk/native/apache-1.3/mod_jk.c (original)
+++ tomcat/jk/trunk/native/apache-1.3/mod_jk.c Thu Sep 22 17:18:16 2011
@@ -737,7 +737,7 @@ static int init_ws_service(apache_privat
             memcpy(s->extension.fail_on_status, e->fail_on_status, e->fail_on_status_size
* sizeof(int));
         }
     }
-    reply_timeout = ap_table_get(r->subprocess_env, "JK_REPLY_TIMEOUT");
+    reply_timeout = ap_table_get(r->subprocess_env, JK_ENV_REPLY_TIMEOUT);
     if (reply_timeout) {
         int r = atoi(reply_timeout);
         if (r >= 0)

Modified: tomcat/jk/trunk/native/apache-2.0/mod_jk.c
URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/native/apache-2.0/mod_jk.c?rev=1174270&r1=1174269&r2=1174270&view=diff
==============================================================================
--- tomcat/jk/trunk/native/apache-2.0/mod_jk.c (original)
+++ tomcat/jk/trunk/native/apache-2.0/mod_jk.c Thu Sep 22 17:18:16 2011
@@ -791,7 +791,7 @@ static int init_ws_service(apache_privat
             memcpy(s->extension.fail_on_status, e->fail_on_status, e->fail_on_status_size
* sizeof(int));
         }
     }
-    reply_timeout = apr_table_get(r->subprocess_env, "JK_REPLY_TIMEOUT");
+    reply_timeout = apr_table_get(r->subprocess_env, JK_ENV_REPLY_TIMEOUT);
     if (reply_timeout) {
         int r = atoi(reply_timeout);
         if (r >= 0)



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


Mime
View raw message