]> git.pld-linux.org Git - packages/apache.git/blob - httpd-2.0.46-logtimez.patch
- /srv -> /home/services
[packages/apache.git] / httpd-2.0.46-logtimez.patch
1
2   * modules/loggers/mod_log_config.c (log_request_time): Log
3   the minutes component of the timezone correctly.
4                                                                                                   
5   PR: 23642
6   Submitted by: Hong-Gunn Chew <hgbug@gunnet.org>
7
8 --- httpd-2.0.46/modules/loggers/mod_log_config.c.logtimez
9 +++ httpd-2.0.46/modules/loggers/mod_log_config.c
10 @@ -570,7 +570,7 @@
11                           "[%02d/%s/%d:%02d:%02d:%02d %c%.2d%.2d]",
12                           xt.tm_mday, apr_month_snames[xt.tm_mon],
13                           xt.tm_year+1900, xt.tm_hour, xt.tm_min, xt.tm_sec,
14 -                         sign, timz / (60*60), timz % (60*60));
15 +                         sign, timz / (60*60), (timz % (60*60)) / 60);
16              cached_time->t_validate = t_seconds;
17              memcpy(&(request_time_cache[i]), cached_time,
18                     sizeof(*cached_time));
This page took 0.074799 seconds and 3 git commands to generate.