You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mt...@apache.org on 2006/07/18 12:22:29 UTC

svn commit: r423038 - /tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c

Author: mturk
Date: Tue Jul 18 03:22:25 2006
New Revision: 423038

URL: http://svn.apache.org/viewvc?rev=423038&view=rev
Log:
Fix -Wall warning about missing braces.

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=423038&r1=423037&r2=423038&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c Tue Jul 18 03:22:25 2006
@@ -691,7 +691,7 @@
                             rec->s->lb_value -= rec->s->lb_mult;
                         else {
                             rec->s->lb_value = 0;
-                            if (JK_IS_DEBUG_LEVEL(l))
+                            if (JK_IS_DEBUG_LEVEL(l)) {
                                 jk_log(l, JK_LOG_DEBUG,
                                        "worker %s has load value to low (%"
                                        JK_UINT64_T_FMT
@@ -702,6 +702,7 @@
                                        rec->s->name,
                                        rec->s->lb_value,
                                        rec->s->lb_mult);
+                            }
                         }
 
                     /* When returning the endpoint mark the worker as not busy.



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