diff options
author | 2017-03-21 09:55:59 +0100 | |
---|---|---|
committer | 2017-04-03 15:52:28 +1000 | |
commit | 3c49837d05b6fad0f1212a27e81e8ffc868eedfb (patch) | |
tree | 2bddbdfe6c8f0b2e70d29c009a0c4d63b498f0ff | |
parent | d77caf28ae5af5cd4b759d436c4c94870d8d26a3 (diff) | |
download | luaossl-3c49837d05b6fad0f1212a27e81e8ffc868eedfb.tar.gz luaossl-3c49837d05b6fad0f1212a27e81e8ffc868eedfb.tar.bz2 luaossl-3c49837d05b6fad0f1212a27e81e8ffc868eedfb.zip |
Bugfix in xx_getNextUpdate() - return time instead of constant 1.
-rw-r--r-- | src/openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |