httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/modules/generators mod_cgid.c
Date Thu, 23 Aug 2001 20:15:56 GMT
trawick     01/08/23 13:15:56

  Modified:    modules/generators mod_cgid.c
  Log:
  make it compile :(
  
  Revision  Changes    Path
  1.95      +2 -2      httpd-2.0/modules/generators/mod_cgid.c
  
  Index: mod_cgid.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/generators/mod_cgid.c,v
  retrieving revision 1.94
  retrieving revision 1.95
  diff -u -r1.94 -r1.95
  --- mod_cgid.c	2001/08/23 18:53:27	1.94
  +++ mod_cgid.c	2001/08/23 20:15:56	1.95
  @@ -690,7 +690,7 @@
       cgid_server_conf *conf = ap_get_module_config(s->module_config,
                                                     &cgid_module); 
   
  -    conf->logname = ap_server_root_relative(cfg->pool, arg);
  +    conf->logname = ap_server_root_relative(cmd->pool, arg);
       return NULL; 
   } 
   
  @@ -753,7 +753,7 @@
       if (!conf->logname || 
           ((stat(conf->logname, &finfo) == 0) 
            && (finfo.st_size > conf->logbytes)) || 
  -         (apr_file_open(&f, r->pool, conf->logname,
  +         (apr_file_open(&f, conf->logname,
                     APR_APPEND|APR_WRITE|APR_CREATE, APR_OS_DEFAULT, r->pool) != APR_SUCCESS))
{ 
           return ret; 
       } 
  
  
  

Mime
View raw message