]> granicus.if.org Git - apache/commitdiff
Fixed r.started value to return seconds.
authorGuenter Knauf <fuankg@apache.org>
Sat, 20 Apr 2013 12:32:08 +0000 (12:32 +0000)
committerGuenter Knauf <fuankg@apache.org>
Sat, 20 Apr 2013 12:32:08 +0000 (12:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1470157 13f79535-47bb-0310-9956-ffa450edef68

modules/lua/lua_request.c

index 13519375497db4569d36279ae94b39a5e37deaad..66f5d01c1e20f1db11db7de68c007bf205769f50 100644 (file)
@@ -644,7 +644,7 @@ static const char* lua_ap_allowoverrides(request_rec* r)
 
 static int lua_ap_started(request_rec* r) 
 {
-    return ap_scoreboard_image->global->restart_time;
+    return (int)(ap_scoreboard_image->global->restart_time / 1000000);
 }
 
 static const char* lua_ap_basic_auth_pw(request_rec* r)