httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: httpd-2.0/modules/generators mod_info.c
Date Fri, 02 Mar 2001 05:50:05 GMT
rbb         01/03/01 21:50:05

  Modified:    .        CHANGES
               modules/generators mod_info.c
  Log:
  Fix mod_info, so that <Directory> and <Location> directives are
  not displayed twice when displaying the current configuration.
  
  Revision  Changes    Path
  1.116     +4 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.115
  retrieving revision 1.116
  diff -u -d -b -w -u -r1.115 -r1.116
  --- CHANGES	2001/02/26 06:26:23	1.115
  +++ CHANGES	2001/03/02 05:50:04	1.116
  @@ -1,5 +1,9 @@
   Changes with Apache 2.0.14-dev
   
  +  *) Fix mod_info, so that <Directory> and <Location> directives are
  +     not displayed twice when displaying the current configuration.
  +     [Ryan Morgan <rmorgan@covalent.net>]
  +
     *) Add config directives to override DEFAULT_ERROR_MSG and
        DEFAULT_TIME_FORMAT.  This was sent in as PR 6193.
        [Dan Rench <drench@xnet.com>]
  
  
  
  1.31      +2 -1      httpd-2.0/modules/generators/mod_info.c
  
  Index: mod_info.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/generators/mod_info.c,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -d -b -w -u -r1.30 -r1.31
  --- mod_info.c	2001/02/28 15:24:05	1.30
  +++ mod_info.c	2001/03/02 05:50:05	1.31
  @@ -192,7 +192,8 @@
       while (tmptree != NULL) {
   	cmd = cmds;
   	while (cmd->name) {
  -	    if (!strcasecmp(cmd->name, tmptree->directive)) {
  +	    if ((cmd->name[0] != '<') && 
  +                (strcasecmp(cmd->name, tmptree->directive) == 0)) {
   		if (nest > block_start) {
   		    block_start++;
   		    apr_snprintf(htmlstring, sizeof(htmlstring), "%s %s",
  
  
  

Mime
View raw message