randy       97/08/31 16:11:28

  Modified:    src/modules/standard mod_expires.c
  Log:
  Convert log_*() to aplog_error().
  
  Revision  Changes    Path
  1.17      +4 -2      apachen/src/modules/standard/mod_expires.c
  
  Index: mod_expires.c
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/modules/standard/mod_expires.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- mod_expires.c     1997/08/18 13:12:12     1.16
  +++ mod_expires.c     1997/08/31 23:11:27     1.17
  @@ -402,7 +402,8 @@
   
       conf = (expires_dir_config *)get_module_config(r->per_dir_config, 
&expires_module);
       if ( conf == NULL ) {
  -        log_reason ("internal error in expires_module; add_expires(), conf 
== NULL", r->filename, r);
  +        aplog_error(APLOG_MARK, APLOG_ERR, r->server,
  +                 "internal error: %s", r->filename);
        return SERVER_ERROR;
       };
   
  @@ -451,7 +452,8 @@
            /* expecting the add_* routines to be case-hardened this 
             * is just a reminder that module is beta
             */
  -            log_reason ("internal error in expires_module; bad expires 
code", r->filename, r);
  +            aplog_error(APLOG_MARK, APLOG_ERR, r->server,
  +                     "internal error: bad expires code: %s", r->filename);
               return SERVER_ERROR;
       };
   
  
  
  

Reply via email to