mturk       2005/02/21 00:24:08

  Modified:    jk/native/common jk_status.c
  Log:
  Be more informant when displaying uri maps.
  
  Revision  Changes    Path
  1.22      +7 -3      jakarta-tomcat-connectors/jk/native/common/jk_status.c
  
  Index: jk_status.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_status.c,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- jk_status.c       20 Feb 2005 18:31:21 -0000      1.21
  +++ jk_status.c       21 Feb 2005 08:24:08 -0000      1.22
  @@ -324,15 +324,19 @@
       unsigned int i;
   
       jk_puts(s, "<br />Uri Mappings:\n");
  -    jk_puts(s, "<table><tr><th>Match Type</th><th>Uri</th></tr>\n");
  +    jk_puts(s, "<table>\n<tr><th>Match Type</th><th>Uri</th>"
  +               "<th>Context</th><th>Suffix</th></tr>\n");
       for (i = 0; i < uwmap->size; i++) {
           uri_worker_record_t *uwr = uwmap->maps[i];
  -        if (strcmp(uwr->worker_name, worker))
  +        if (strcmp(uwr->worker_name, worker)) {
               continue;
  +        }
           jk_putv(s, "<tr><td>",
                   status_val_match(uwr->match_type),
                   "</td><td>", NULL);
           jk_puts(s, uwr->uri);
  +        jk_putv(s, "</td><td>", uwr->context, NULL);
  +        jk_putv(s, "</td><td>", uwr->suffix, NULL);
           jk_puts(s, "</td></tr>\n");
       }
       jk_puts(s, "</table>\n");
  
  
  

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

Reply via email to