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/26 00:37:35 UTC

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

pier        01/07/25 15:37:35

  Modified:    webapp/lib wa_config.c
  Log:
  Closing bug 2016 (Weird message when no port configured in httpd.conf)
  
  Revision  Changes    Path
  1.5       +2 -2      jakarta-tomcat-connectors/webapp/lib/wa_config.c
  
  Index: wa_config.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/lib/wa_config.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- wa_config.c	2001/07/25 22:32:05	1.4
  +++ wa_config.c	2001/07/25 22:37:35	1.5
  @@ -55,7 +55,7 @@
    *                                                                           *
    * ========================================================================= */
   
  -/* @version $Id: wa_config.c,v 1.4 2001/07/25 22:32:05 pier Exp $ */
  +/* @version $Id: wa_config.c,v 1.5 2001/07/25 22:37:35 pier Exp $ */
   #include <wa.h>
   
   /* Allocate and set up a <code>wa_application</code> member. */
  @@ -108,7 +108,7 @@
       /* Check parameters */
       if (h==NULL) return("Invalid virtual host storage location");
       if (n==NULL) return("Invalid virtual host name");
  -    if (p<1) return("Invalid port number (p<1)");
  +    if (p<1) return("Invalid port number (p<1) No \"Port\" statement found");
       if (p>65535) return("Invalid port number (p>65535)");
   
       /* Allocate some memory */