tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r613283 - /tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c
Date Fri, 18 Jan 2008 21:32:52 GMT
Author: rjung
Date: Fri Jan 18 13:32:48 2008
New Revision: 613283

URL: http://svn.apache.org/viewvc?rev=613283&view=rev
Log:
Fix compiler error.

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

Modified: tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c?rev=613283&r1=613282&r2=613283&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c Fri Jan 18 13:32:48 2008
@@ -767,11 +767,12 @@
     }
     if (candidate >= 0) {
         lb_sub_worker_t wr = p->lb_workers[candidate];
+        int activation;
         if (uses_domain)
             s->route = wr.domain;
-        int activation = s->extension.activation ?
-                         s->extension.activation[candidate] :
-                         JK_LB_ACTIVATION_UNSET;
+        activation = s->extension.activation ?
+                     s->extension.activation[candidate] :
+                     JK_LB_ACTIVATION_UNSET;
         if (activation == JK_LB_ACTIVATION_UNSET)
             activation = wr.activation;
         if (!JK_WORKER_USABLE_STICKY(wr.s, activation)) {



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


Mime
View raw message