tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1334403 - /tomcat/jk/trunk/native/common/jk_uri_worker_map.c
Date Sat, 05 May 2012 11:39:40 GMT
Author: mturk
Date: Sat May  5 11:39:40 2012
New Revision: 1334403

URL: http://svn.apache.org/viewvc?rev=1334403&view=rev
Log:
Style police. No functional change

Modified:
    tomcat/jk/trunk/native/common/jk_uri_worker_map.c

Modified: tomcat/jk/trunk/native/common/jk_uri_worker_map.c
URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/native/common/jk_uri_worker_map.c?rev=1334403&r1=1334402&r2=1334403&view=diff
==============================================================================
--- tomcat/jk/trunk/native/common/jk_uri_worker_map.c (original)
+++ tomcat/jk/trunk/native/common/jk_uri_worker_map.c Sat May  5 11:39:40 2012
@@ -394,7 +394,7 @@ static void extract_activation(jk_pool_t
 #else
     for (worker = strtok(worker, ", "); worker; worker = strtok(NULL, ", ")) {
 #endif
-        for (i=0; i<lb->num_of_workers; i++) {
+        for (i = 0; i < lb->num_of_workers; i++) {
             if (!strcmp(worker, lb->lb_workers[i].name)) {
                 if (activations[i] != JK_LB_ACTIVATION_UNSET)
                     jk_log(l, JK_LOG_WARNING,
@@ -432,7 +432,7 @@ static void extension_fix_fail_on_status
 
     JK_TRACE_ENTER(l);
 
-    for (i=0; i<strlen(extensions->fail_on_status_str); i++) {
+    for (i = 0; i < (unsigned int)strlen(extensions->fail_on_status_str); i++) {
         if (extensions->fail_on_status_str[i] == ',' ||
             extensions->fail_on_status_str[i] == ' ')
             cnt++;



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


Mime
View raw message