From: Stefan Fritsch Date: Mon, 13 Jun 2011 16:49:48 +0000 (+0000) Subject: Fix handling of cumulative system time X-Git-Tag: 2.3.13~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82ea6d066e429ca6b8ad630d288c8c34f21f222b;p=thirdparty%2Fapache%2Fhttpd.git Fix handling of cumulative system time git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1135170 13f79535-47bb-0310-9956-ffa450edef68 --- 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 */