You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by fu...@apache.org on 2013/04/20 14:32:09 UTC

svn commit: r1470157 - /httpd/httpd/trunk/modules/lua/lua_request.c

Author: fuankg
Date: Sat Apr 20 12:32:08 2013
New Revision: 1470157

URL: http://svn.apache.org/r1470157
Log:
Fixed r.started value to return seconds.

Modified:
    httpd/httpd/trunk/modules/lua/lua_request.c

Modified: httpd/httpd/trunk/modules/lua/lua_request.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/lua_request.c?rev=1470157&r1=1470156&r2=1470157&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/lua_request.c (original)
+++ httpd/httpd/trunk/modules/lua/lua_request.c Sat Apr 20 12:32:08 2013
@@ -644,7 +644,7 @@ static const char* lua_ap_allowoverrides
 
 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)