tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r703238 - /tomcat/connectors/trunk/jk/native/common/jk_status.c
Date Thu, 09 Oct 2008 19:39:03 GMT
Author: rjung
Date: Thu Oct  9 12:39:02 2008
New Revision: 703238

URL: http://svn.apache.org/viewvc?rev=703238&view=rev
Log:
9BZ 45978: Fix status worker display broken by introducing
single lb member display.
Thanks to Eiji Takahashi for reporting this.

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?rev=703238&r1=703237&r2=703238&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_status.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_status.c Thu Oct  9 12:39:02 2008
@@ -2221,7 +2221,7 @@
             ajp_worker_t *aw = (ajp_worker_t *)swr->worker->worker_private;
 
             if (mime == JK_STATUS_MIME_HTML) {
-                jk_puts(s, "<tr>\n<td>");
+                jk_puts(s, "<tr>\n<td>[");
                 jk_puts(s, "S");
                 if (!read_only) {
                     jk_puts(s, "|");
@@ -2235,8 +2235,8 @@
                         status_write_uri(s, p, "T", JK_STATUS_CMD_RECOVER, JK_STATUS_MIME_UNKNOWN,
                                          name, sub_name, 0, 0, "", l);
                     }
-                    jk_puts(s, "]");
                 }
+                jk_puts(s, "]");
                 jk_puts(s, "&nbsp;</td>");
             }
             display_worker_ajp_details(s, p, aw, swr, lb, ms_min, ms_max, 0, l);
@@ -2247,7 +2247,7 @@
                 ajp_worker_t *aw = (ajp_worker_t *)wr->worker->worker_private;
 
                 if (mime == JK_STATUS_MIME_HTML) {
-                    jk_puts(s, "<tr>\n<td>");
+                    jk_puts(s, "<tr>\n<td>[");
                     status_write_uri(s, p, "S", JK_STATUS_CMD_SHOW, JK_STATUS_MIME_UNKNOWN,
                                  name, sub_name, 0, 0, "", l);
                     if (!read_only) {
@@ -2262,8 +2262,8 @@
                             status_write_uri(s, p, "T", JK_STATUS_CMD_RECOVER, JK_STATUS_MIME_UNKNOWN,
                                              name, sub_name, 0, 0, "", l);
                         }
-                        jk_puts(s, "]");
                     }
+                    jk_puts(s, "]");
                     jk_puts(s, "&nbsp;</td>");
                 }
                 display_worker_ajp_details(s, p, aw, wr, lb, ms_min, ms_max, 0, l);



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


Mime
View raw message