From 3c49837d05b6fad0f1212a27e81e8ffc868eedfb Mon Sep 17 00:00:00 2001 From: Pascal Fellerich Date: Tue, 21 Mar 2017 09:55:59 +0100 Subject: Bugfix in xx_getNextUpdate() - return time instead of constant 1. --- src/openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openssl.c b/src/openssl.c index 0910bb3..0ba7825 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -6648,7 +6648,7 @@ static int xx_getNextUpdate(lua_State *L) { updateby = timeutc(time); if (isfinite(updateby)) - lua_pushnumber(L, 1); + lua_pushnumber(L, updateby); else lua_pushnil(L); -- cgit v1.2.3-59-g8ed1b