tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r550530 - /tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c
Date Mon, 25 Jun 2007 16:04:32 GMT
Author: rjung
Date: Mon Jun 25 09:04:31 2007
New Revision: 550530

URL: http://svn.apache.org/viewvc?view=rev&rev=550530
Log:
Fix comparison between signed and unsigned type.
Uncritical here, because value of this config parameter
won't be negative or very large.

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?view=diff&rev=550530&r1=550529&r2=550530
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c Mon Jun 25 09:04:31 2007
@@ -1094,7 +1094,7 @@
                         rec->s->reply_timeouts++;
                     }
                     if (service_stat != JK_REPLY_TIMEOUT ||
-                        rec->s->reply_timeouts > p->worker->s->max_reply_timeouts)
{
+                        rec->s->reply_timeouts > (unsigned)p->worker->s->max_reply_timeouts)
{
 
                         /*
                         * Service failed !!!



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


Mime
View raw message