You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by pi...@apache.org on 2001/07/19 06:20:42 UTC

cvs commit: jakarta-tomcat-connectors/webapp/lib pr_info.c

pier        01/07/18 21:20:42

  Modified:    webapp/lib pr_info.c
  Log:
  Display the status of the "deployed" flag.
  (This might cause some troubles under MacOS/X with the Cisco VPN-5000
  client installed. I don't know why but I get a kernel error)
  
  Revision  Changes    Path
  1.3       +5 -2      jakarta-tomcat-connectors/webapp/lib/pr_info.c
  
  Index: pr_info.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/lib/pr_info.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- pr_info.c	2001/07/09 22:02:08	1.2
  +++ pr_info.c	2001/07/19 04:20:42	1.3
  @@ -55,7 +55,7 @@
    *                                                                           *
    * ========================================================================= */
   
  -/* @version $Id: pr_info.c,v 1.2 2001/07/09 22:02:08 pier Exp $ */
  +/* @version $Id: pr_info.c,v 1.3 2001/07/19 04:20:42 pier Exp $ */
   #include <wa.h>
   
   /* Counter for requests */
  @@ -92,6 +92,7 @@
                appl->name,appl->host->name,appl->host->port,appl->rpth,
                appl->conn->name);
       appl->conf=NULL;
  +    appl->depl=wa_true;
       return(NULL);
   }
   
  @@ -116,7 +117,8 @@
       wa_rprintf(r,"      Root&nbsp;URL&nbsp;Path<br>\n");
       wa_rprintf(r,"      Local&nbsp;Deployment&nbsp;Path<br>\n");
       wa_rprintf(r,"      Configuration&nbsp;Details<br>\n");
  -    wa_rprintf(r,"      Connection\n");
  +    wa_rprintf(r,"      Connection<br>\n");
  +    wa_rprintf(r,"      Deployed\n");
       wa_rprintf(r,"     </font>\n");
       wa_rprintf(r,"    </td>\n");
       wa_rprintf(r,"    <td width=\"90%%\" valign=\"top\" align=\"left\">\n");
  @@ -135,6 +137,7 @@
   
       wa_rprintf(r,"      <b>&quot;%s&quot;</b>",a->conn->name);
       wa_rprintf(r," <i><a href=\"#%s\">(details)</a></i><br>\n",a->conn->name);
  +    wa_rprintf(r,"      <b>%s</b><br>\n",a->depl?"TRUE":"FALSE");
       wa_rprintf(r,"     </font>\n");
       wa_rprintf(r,"    </td>\n");
       wa_rprintf(r,"   </tr>\n");