From: Jeff Trawick Date: Sun, 20 Jun 2004 13:08:06 +0000 (+0000) Subject: mod_log_config: Fix a bug which prevented request completion time X-Git-Tag: pre_ajp_proxy~141 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ecab476cae46fc933fd24a7ae3628d08610fe696;p=apache 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 --- 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;