httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aa...@apache.org
Subject cvs commit: httpd-2.0/server log.c
Date Thu, 24 Jan 2002 04:31:01 GMT
aaron       02/01/23 20:31:01

  Modified:    server   log.c
  Log:
  Bring apache in line with the new apr_file_dup2() parameter type.
  
  Revision  Changes    Path
  1.104     +2 -2      httpd-2.0/server/log.c
  
  Index: log.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/log.c,v
  retrieving revision 1.103
  retrieving revision 1.104
  diff -u -r1.103 -r1.104
  --- log.c	17 Jan 2002 20:15:12 -0000	1.103
  +++ log.c	24 Jan 2002 04:31:01 -0000	1.104
  @@ -295,7 +295,7 @@
           /* replace stderr with this new log */
           apr_file_flush(s_main->error_log);
           apr_file_open_stderr(&errfile, p);        
  -        rc = apr_file_dup2(&errfile, s_main->error_log, p);
  +        rc = apr_file_dup2(errfile, s_main->error_log, p);
           if (rc != APR_SUCCESS) {
               ap_log_error(APLOG_MARK, APLOG_CRIT, rc, s_main,
                            "unable to replace stderr with error_log");
  @@ -338,7 +338,7 @@
   
       apr_file_open_stderr(&errfile, s->process->pool);        
       if (s->error_log != NULL) {
  -        apr_file_dup2(&(s->error_log), errfile, s->process->pool);
  +        apr_file_dup2(s->error_log, errfile, s->process->pool);
       }
   }
   
  
  
  

Mime
View raw message