httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/modules/loggers mod_log_forensic.c
Date Sat, 21 Feb 2004 15:53:49 GMT
nd          2004/02/21 07:53:49

  Modified:    modules/loggers mod_log_forensic.c
  Log:
  ugh! Fix log open error condition, which never matched.
  
  Revision  Changes    Path
  1.16      +1 -2      httpd-2.0/modules/loggers/mod_log_forensic.c
  
  Index: mod_log_forensic.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/loggers/mod_log_forensic.c,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -u -r1.15 -r1.16
  --- mod_log_forensic.c	21 Feb 2004 15:45:02 -0000	1.15
  +++ mod_log_forensic.c	21 Feb 2004 15:53:49 -0000	1.16
  @@ -90,8 +90,7 @@
   
           if ((rv = apr_file_open(&cfg->fd, fname,
                                   APR_WRITE | APR_APPEND | APR_CREATE,
  -                                APR_OS_DEFAULT, p) != APR_SUCCESS)
  -            < 0) {
  +                                APR_OS_DEFAULT, p)) != APR_SUCCESS) {
               ap_log_error(APLOG_MARK, APLOG_ERR, rv, s,
                            "could not open forensic log file %s.", fname);
               exit(1);
  
  
  

Mime
View raw message