httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1470157 - /httpd/httpd/trunk/modules/lua/lua_request.c
Date Sat, 20 Apr 2013 12:32:09 GMT
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) 



Mime
View raw message