ben         96/10/18 12:20:06

  Modified:    src       mod_env.c
  Log:
  Remove redundant semicolons.
  
  Revision  Changes    Path
  1.4       +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.3
  retrieving revision 1.4
  diff -C3 -r1.3 -r1.4
  *** mod_env.c 1996/08/20 11:51:10     1.3
  --- mod_env.c 1996/10/18 19:20:04     1.4
  ***************
  *** 50,56 ****
     *
     */
    
  ! /* $Id: mod_env.c,v 1.3 1996/08/20 11:51:10 paul Exp $ */
    
    /*
     * mod_env.c
  --- 50,56 ----
     *
     */
    
  ! /* $Id: mod_env.c,v 1.4 1996/10/18 19:20:04 ben Exp $ */
    
    /*
     * mod_env.c
  ***************
  *** 145,158 ****
    
        for ( i = 0; i < add->vars->nelts; ++i ) {
        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;
    
  --- 145,158 ----
    
        for ( i = 0; i < add->vars->nelts; ++i ) {
        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;
    
  ***************
  *** 175,181 ****
            if ( env_var != NULL ) { 
                sconf->vars_present = 1;
                table_set (vars, name_ptr, env_var);
  !         };
        }
        return NULL;
    }
  --- 175,181 ----
            if ( env_var != NULL ) { 
                sconf->vars_present = 1;
                table_set (vars, name_ptr, env_var);
  !         }
        }
        return NULL;
    }
  ***************
  *** 197,203 ****
    
        if ( (*name == '\0') || (*arg != '\0')) {
        return "SetEnv takes one or two arguments.  An environment variable 
name and an optional value to pass to CGI." ;
  !     };
    
        sconf->vars_present = 1;
        table_set (vars, name, value);
  --- 197,203 ----
    
        if ( (*name == '\0') || (*arg != '\0')) {
        return "SetEnv takes one or two arguments.  An environment variable 
name and an optional value to pass to CGI." ;
  !     }
    
        sconf->vars_present = 1;
        table_set (vars, name, value);
  
  
  

Reply via email to