tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r482096 - /tomcat/connectors/trunk/jk/native/common/jk_status.c
Date Mon, 04 Dec 2006 07:41:41 GMT
Author: mturk
Date: Sun Dec  3 23:41:37 2006
New Revision: 482096

URL: http://svn.apache.org/viewvc?view=rev&rev=482096
Log:
Display version info for cmd=show as well.

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=482096&r1=482095&r2=482096
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_status.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_status.c Sun Dec  3 23:41:37 2006
@@ -3160,12 +3160,13 @@
                 jk_printf(s, ":%d", s->server_port);
                 jk_puts(s, "</h1>\n\n");
                 if ((cmd == JK_STATUS_CMD_LIST) ||
+                    (cmd == JK_STATUS_CMD_SHOW) ||
                     (cmd == JK_STATUS_CMD_VERSION)) {
                     jk_putv(s, "<table><tr><td>Server Version:</td><td>",
                             s->server_software, "</td></tr>\n", NULL);
                     jk_putv(s, "<tr><td>JK Version:</td><td>",
                             JK_EXPOSED_VERSION, "</td></tr></table>\n",
NULL);
-                    jk_puts(s, "<hr/>");
+                    jk_puts(s, "<hr/>\n");
                 }
                 if (cmd == JK_STATUS_CMD_LIST ||
                     cmd == JK_STATUS_CMD_SHOW) {
@@ -3215,7 +3216,6 @@
                                 "\" type=\"text\" size=\"3\" value=\"10\"/> "
                                 "seconds)", NULL);
                         jk_puts(s, "</form>\n");
-                        jk_puts(s, "<hr/>\n");
                     }
                 }
                 if (cmd == JK_STATUS_CMD_SHOW ||



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


Mime
View raw message