Author: mturk
Date: Sun Nov 26 23:28:26 2006
New Revision: 479530

URL: http://svn.apache.org/viewvc?view=rev&rev=479530
Log:
Display the usage if not read-only.

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=479530&r1=479529&r2=479530
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_status.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_status.c Sun Nov 26 23:28:26 
2006
@@ -2561,8 +2561,8 @@
                         jk_puts(s, "</form>\n");
                     }
                     jk_puts(s, "<hr/>[<b>S</b>=Show only this worker");
-                    if (w->read_only)
-                        jk_puts(s, ", <b>E</b>=Edit worker, <b>R</b>=Reset 
worker state\n");
+                    if (!w->read_only)
+                        jk_puts(s, ", <b>E</b>=Edit worker, <b>R</b>=Reset 
worker state");
                     jk_puts(s, "]&nbsp;\n");
                 }
                 if (cmd == JK_STATUS_CMD_LIST) {



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to