mirror of
https://github.com/apache/httpd.git
synced 2025-08-05 16:55:50 +03:00
Revert part of r1476482 which disabled fractions of seconds with r.sleep().
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1480871 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1574,7 +1574,7 @@ static int lua_ap_sleep(lua_State *L)
|
||||
|
||||
apr_interval_time_t msec;
|
||||
luaL_checktype(L, 1, LUA_TNUMBER);
|
||||
msec = (lua_tointeger(L, 1) * 1000000);
|
||||
msec = (lua_tonumber(L, 1) * 1000000);
|
||||
apr_sleep(msec);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user