lua/uloop: use uloop_timeout_remaining64
We will deprecate uloop_timeout_remaining soon. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: Jo-Philipp Wich <jo@mein.io> Acked-by: John Crispin <john@phrozen.org>
This commit is contained in:
parent
3344157381
commit
c87d3e1fb6
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ static int ul_timer_remaining(lua_State *L)
|
|||
struct lua_uloop_timeout *tout;
|
||||
|
||||
tout = lua_touserdata(L, 1);
|
||||
lua_pushnumber(L, uloop_timeout_remaining(&tout->t));
|
||||
lua_pushnumber(L, uloop_timeout_remaining64(&tout->t));
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue