From 82ea6d066e429ca6b8ad630d288c8c34f21f222b Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Mon, 13 Jun 2011 16:49:48 +0000 Subject: [PATCH] Fix handling of cumulative system time git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1135170 13f79535-47bb-0310-9956-ffa450edef68 --- modules/generators/mod_status.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/generators/mod_status.c b/modules/generators/mod_status.c index 6f143340e1b..7c8b0d13faa 100644 --- a/modules/generators/mod_status.c +++ b/modules/generators/mod_status.c @@ -333,7 +333,7 @@ static int status_handler(request_rec *r) proc_tu += tmp_tu; proc_ts += tmp_ts; proc_tcu += tmp_tcu; - proc_tcs += proc_tcs; + proc_tcs += tmp_tcs; } else { if (tmp_tu > proc_tu || @@ -343,7 +343,7 @@ static int status_handler(request_rec *r) proc_tu = tmp_tu; proc_ts = tmp_ts; proc_tcu = tmp_tcu; - proc_tcs = proc_tcs; + proc_tcs = tmp_tcs; } } #endif /* HAVE_TIMES */ -- 2.47.2