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_config.c
Date Sun, 18 Jan 2004 00:00:18 GMT
nd          2004/01/17 16:00:18

  Modified:    modules/loggers mod_log_config.c
  Log:
  in conservative C declarations still have to be the first in a function.
  
  Revision  Changes    Path
  1.110     +5 -4      httpd-2.0/modules/loggers/mod_log_config.c
  
  Index: mod_log_config.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/loggers/mod_log_config.c,v
  retrieving revision 1.109
  retrieving revision 1.110
  diff -u -u -r1.109 -r1.110
  --- mod_log_config.c	17 Jan 2004 00:16:45 -0000	1.109
  +++ mod_log_config.c	18 Jan 2004 00:00:18 -0000	1.110
  @@ -1219,10 +1219,6 @@
   
   static int init_config_log(apr_pool_t *pc, apr_pool_t *p, apr_pool_t *pt, server_rec *s)
   {
  -    if (buffered_logs) {
  -        all_buffered_logs = apr_array_make(p, 5, sizeof(buffered_log *));
  -    }
  -
       /* First, do "physical" server, which gets default log fd and format
        * for the virtual servers, if they don't override...
        */
  @@ -1232,6 +1228,11 @@
   
       for (s = s->next; (res == OK) && s; s = s->next) {
           res = open_multi_logs(s, p);
  +    }
  +
  +    /* Finally init buffered logs */
  +    if (buffered_logs) {
  +        all_buffered_logs = apr_array_make(p, 5, sizeof(buffered_log *));
       }
   
       return res;
  
  
  

Mime
View raw message