httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@hyperreal.com>
Subject cvs commit: apache/src mod_env.c
Date Fri, 18 Oct 1996 21:12:54 GMT
ben         96/10/18 14:12:54

  Modified:    src       mod_env.c
  Log:
  Remove redundant copy.
  
  Revision  Changes    Path
  1.5       +5 -5      apache/src/mod_env.c
  
  Index: mod_env.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_env.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -C3 -r1.4 -r1.5
  *** mod_env.c	1996/10/18 19:20:04	1.4
  --- mod_env.c	1996/10/18 21:12:52	1.5
  ***************
  *** 50,56 ****
     *
     */
    
  ! /* $Id: mod_env.c,v 1.4 1996/10/18 19:20:04 ben Exp $ */
    
    /*
     * mod_env.c
  --- 50,56 ----
     *
     */
    
  ! /* $Id: mod_env.c,v 1.5 1996/10/18 21:12:52 ben Exp $ */
    
    /*
     * mod_env.c
  ***************
  *** 127,133 ****
        table_entry *elts;
    
        int i;
  !     char *uenv, *copy;
    
          /* 
           * new_table = copy_table( p, base->vars );
  --- 127,133 ----
        table_entry *elts;
    
        int i;
  !     char *uenv, *unset;
    
          /* 
           * new_table = copy_table( p, base->vars );
  ***************
  *** 147,157 ****
    	table_set( new_table, elts[i].key, elts[i].val ); 
        }
    
  !     copy = pstrdup( p, add->unsetenv );
  !     uenv = getword_conf( p, &copy );
        while ( uenv[0] != '\0' ) {
    	table_unset( new_table, uenv );
  ! 	uenv = getword_conf( p, &copy );
        }
    
        new->vars = new_table;
  --- 147,157 ----
    	table_set( new_table, elts[i].key, elts[i].val ); 
        }
    
  !     unset = add->unsetenv;
  !     uenv = getword_conf( p, &unset );
        while ( uenv[0] != '\0' ) {
    	table_unset( new_table, uenv );
  ! 	uenv = getword_conf( p, &unset );
        }
    
        new->vars = new_table;
  
  
  

Mime
View raw message