You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2006/11/26 11:15:13 UTC

svn commit: r479328 - /tomcat/connectors/trunk/jk/native/common/jk_status.c

Author: rjung
Date: Sun Nov 26 02:15:13 2006
New Revision: 479328

URL: http://svn.apache.org/viewvc?view=rev&rev=479328
Log:
Another compiler, another warning.
Fixed it.

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

Modified: tomcat/connectors/trunk/jk/native/common/jk_status.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_status.c?view=diff&rev=479328&r1=479327&r2=479328
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_status.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_status.c Sun Nov 26 02:15:13 2006
@@ -379,7 +379,7 @@
 {
     if (status_get_arg_raw(param, req, buf, len)) {
         char *off = buf;
-        while (off=strpbrk(off, JK_STATUS_ESC_CHARS))
+        while ((off = strpbrk(off, JK_STATUS_ESC_CHARS)))
             off[0] = '@';
         return buf;
     }
@@ -1373,7 +1373,6 @@
 
         for (i = 0; i < lb->num_of_workers; i++) {
             worker_record_t *wr = &(lb->lb_workers[i]);
-            ajp_worker_t *a = (ajp_worker_t *)wr->w->worker_private;
 
             jk_putv(s, "<tr><td>", wr->s->name, "</td><td>\n", NULL);
 



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