mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
Fixed r.started value to return seconds.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1470157 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -644,7 +644,7 @@ static const char* lua_ap_allowoverrides(request_rec* r)
|
|||||||
|
|
||||||
static int lua_ap_started(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)
|
static const char* lua_ap_basic_auth_pw(request_rec* r)
|
||||||
|
Reference in New Issue
Block a user