You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@apache.org on 2003/09/08 18:39:05 UTC

cvs commit: httpd-2.0/server main.c

martin      2003/09/08 09:39:05

  Modified:    server   main.c
  Log:
  Documentation says -DDUMP_VHOSTS is equivalent to setting -S
  
  Revision  Changes    Path
  1.146     +3 -0      httpd-2.0/server/main.c
  
  Index: main.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/main.c,v
  retrieving revision 1.145
  retrieving revision 1.146
  diff -u -u -r1.145 -r1.146
  --- main.c	3 Sep 2003 19:27:09 -0000	1.145
  +++ main.c	8 Sep 2003 16:39:04 -0000	1.146
  @@ -473,6 +473,9 @@
           case 'D':
               new = (char **)apr_array_push(ap_server_config_defines);
               *new = apr_pstrdup(pcommands, optarg);
  +            /* Setting -D DUMP_VHOSTS is equivalent to setting -S */
  +            if (strcmp(optarg, "DUMP_VHOSTS") == 0)
  +                configtestonly = 1;
               break;
   
           case 'e':
  
  
  

Re: cvs commit: httpd-2.0/server main.c

Posted by André Malo <nd...@perlig.de>.
* martin@apache.org wrote:

> martin      2003/09/08 09:39:05
> 
>   Modified:    server   main.c
>   Log:
>   Documentation says -DDUMP_VHOSTS is equivalent to setting -S

eww. It should say, that "-t -D DUMP_VHOSTS" is equivalent. So it would be a
documentation bug. Where did you read it?

nd