]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Backport from HEAD:
authorJoe Orton <jorton@apache.org>
Tue, 2 Dec 2003 14:50:36 +0000 (14:50 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 2 Dec 2003 14:50:36 +0000 (14:50 +0000)
* modules/loggers/mod_log_config.c (log_request_time): Log
the minutes component of the timezone correctly.

PR: 23642
Submitted by: Hong-Gunn Chew <hgbug@gunnet.org>
Reviewed by: Joe Orton, Bill Stoddard, Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@101955 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
STATUS
modules/loggers/mod_log_config.c

diff --git a/CHANGES b/CHANGES
index c29748448dd8ce977aa01575d681bff104dd51aa..39245db8d31e35fbf9b9c2baac7f8211e0b9501f 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,8 @@
 Changes with Apache 2.0.49
 
+  *) mod_log_config: Log the minutes component of the timezone correctly.
+     PR 23642.  [Hong-Gunn Chew <hgbug gunnet.org>]
+
   *) mod_proxy: Fix cases where an invalid status-line could be sent 
      to the client.  PR 23998.  [Joe Orton]
 
diff --git a/STATUS b/STATUS
index fa21d49c665d5a5341cb5850bb26f9b19be7a0de..5b6e0df24cc6a9381808d7d5cd680c5bbf2be541 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -1,5 +1,5 @@
 APACHE 2.0 STATUS:                                              -*-text-*-
-Last modified at [$Date: 2003/12/02 14:38:40 $]
+Last modified at [$Date: 2003/12/02 14:50:35 $]
 
 Release:
 
@@ -80,10 +80,6 @@ PATCHES TO BACKPORT FROM 2.1
       +1: stoddard
       +1 (concept): trawick (looks reasonable when compared with worker)
 
-    * Fix timezone handling in mod_log_config.  PR 23642
-      modules/loggers/mod_log_config.c: r1.107
-      +1: jorton, stoddard, trawick
-
     * parsed_uri.port is only valid iff parsed_uri.port_str != NULL.
       Old code simply checked if it was non-zero, not if it
       was *valid*
index 2e1fec74f47c3320e0d54931237556bd48fe90e7..4074f0d28263d8131229e4c5dc486a13618b4246 100644 (file)
@@ -570,7 +570,7 @@ static const char *log_request_time(request_rec *r, char *a)
                          "[%02d/%s/%d:%02d:%02d:%02d %c%.2d%.2d]",
                          xt.tm_mday, apr_month_snames[xt.tm_mon],
                          xt.tm_year+1900, xt.tm_hour, xt.tm_min, xt.tm_sec,
-                         sign, timz / (60*60), timz % (60*60));
+                         sign, timz / (60*60), (timz % (60*60)) / 60);
             cached_time->t_validate = t_seconds;
             memcpy(&(request_time_cache[i]), cached_time,
                    sizeof(*cached_time));