LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File modtelemetry-1.0-compile.patch of Package apache2-mod_telemetry (Project home:draht:Apache:Modules)

diff -uNr modtelemetry-1.0.orig/mod_telemetry.c modtelemetry-1.0/mod_telemetry.c
--- modtelemetry-1.0.orig/mod_telemetry.c	2008-07-09 10:09:23.000000000 +0200
+++ modtelemetry-1.0/mod_telemetry.c	2009-11-14 23:35:58.286352996 +0100
@@ -174,7 +174,7 @@
   tsecs /= 60;
   hrs = (int) (tsecs % 24);
 
-  sprintf(mystr, "%02d:%02d:%02d.%02d",hrs,mins,secs);
+  sprintf(mystr, "%02d:%02d:%02d",hrs,mins,secs);
 
   return mystr;
 }
@@ -344,7 +344,7 @@
     return DECLINED;
 }
 
-static int reset_counters(apr_pool_t * p, server_rec * s)
+static void reset_counters(apr_pool_t * p, server_rec * s)
 {
     /* init all counters in shared memory */
     apr_status_t status;