httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1135170 - /httpd/httpd/trunk/modules/generators/mod_status.c
Date Mon, 13 Jun 2011 16:49:49 GMT
Author: sf
Date: Mon Jun 13 16:49:48 2011
New Revision: 1135170

URL: http://svn.apache.org/viewvc?rev=1135170&view=rev
Log:
Fix handling of cumulative system time

Modified:
    httpd/httpd/trunk/modules/generators/mod_status.c

Modified: httpd/httpd/trunk/modules/generators/mod_status.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/generators/mod_status.c?rev=1135170&r1=1135169&r2=1135170&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/generators/mod_status.c (original)
+++ httpd/httpd/trunk/modules/generators/mod_status.c Mon Jun 13 16:49:48 2011
@@ -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 */



Mime
View raw message