tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r698091 - /tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c
Date Tue, 23 Sep 2008 05:16:15 GMT
Author: rjung
Date: Mon Sep 22 22:16:15 2008
New Revision: 698091

URL: http://svn.apache.org/viewvc?rev=698091&view=rev
Log:
Declare variable before function body.

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

Modified: tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c?rev=698091&r1=698090&r2=698091&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c Mon Sep 22 22:16:15 2008
@@ -2841,10 +2841,10 @@
 int JK_METHOD ajp_maintain(jk_worker_t *pThis, time_t mstarted, jk_logger_t *l)
 {
     JK_TRACE_ENTER(l);
-    time_t now = mstarted;
 
     if (pThis && pThis->worker_private) {
         ajp_worker_t *aw = pThis->worker_private;
+        time_t now = mstarted;
         int rc;
         long delta;
 



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


Mime
View raw message