dgaudet     98/06/23 00:25:32

  Modified:    src/modules/standard mod_log_config.c
  Log:
  fix a multithreaded bug that I'm sure Ben didn't intend to introduce
  between rev 1.61 and 1.62 ;)
  
  Revision  Changes    Path
  1.64      +2 -2      apache-1.3/src/modules/standard/mod_log_config.c
  
  Index: mod_log_config.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_log_config.c,v
  retrieving revision 1.63
  retrieving revision 1.64
  diff -u -r1.63 -r1.64
  --- mod_log_config.c  1998/06/17 06:39:34     1.63
  +++ mod_log_config.c  1998/06/23 07:25:32     1.64
  @@ -374,7 +374,7 @@
   {
       int timz;
       struct tm *t;
  -    static char tstr[MAX_STRING_LEN];
  +    char tstr[MAX_STRING_LEN];
   
       t = ap_get_gmtoff(&timz);
   
  @@ -395,7 +395,7 @@
                       "%c%.2d%.2d]", sign, timz / 60, timz % 60);
       }
   
  -    return tstr;
  +    return ap_pstrdup(r->pool, tstr);
   }
   
   static const char *log_request_duration(request_rec *r, char *a)
  
  
  

Reply via email to