From ecab476cae46fc933fd24a7ae3628d08610fe696 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Sun, 20 Jun 2004 13:08:06 +0000 Subject: [PATCH] mod_log_config: Fix a bug which prevented request completion time from being logged for I_INSIST_ON_EXTRA_CYCLES_FOR_CLF_COMPLIANCE processing. PR: 29696 Submitted by: Alois Treindl Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103991 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 4 ++++ modules/loggers/mod_log_config.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index f07218153b..a29f59ea83 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,10 @@ Changes with Apache 2.1.0-dev [Remove entries to the current 2.0 section below, when backported] + *) mod_log_config: Fix a bug which prevented request completion time + from being logged for I_INSIST_ON_EXTRA_CYCLES_FOR_CLF_COMPLIANCE + processing. PR 29696. [Alois Treindl ] + *) initialize server arrays prior to calling ap_setup_prelinked_modules so that static modules can push Defines values when registering hooks just like DSO modules can ["Philippe M. Chiasson" ] diff --git a/modules/loggers/mod_log_config.c b/modules/loggers/mod_log_config.c index 8b898129fc..96df3fa434 100644 --- a/modules/loggers/mod_log_config.c +++ b/modules/loggers/mod_log_config.c @@ -588,7 +588,7 @@ static const char *log_request_time(request_rec *r, char *a) char sign; int timz; - ap_explode_recent_localtime(&xt, r->request_time); + ap_explode_recent_localtime(&xt, request_time); timz = xt.tm_gmtoff; if (timz < 0) { timz = -timz; -- 2.50.1