diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-01 12:44:42 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-01 12:44:42 +0100 |
commit | f0d72001587ab4027a90abd89d1895b73754f010 (patch) | |
tree | 0a806e654e4c6ef2a948b9dd6ae7db9164f71c31 /src/lua/lua_thread_pool.c | |
parent | 1e6065f76c4bd369e6ac241b3eae7f964f8d283e (diff) | |
download | rspamd-f0d72001587ab4027a90abd89d1895b73754f010.tar.gz rspamd-f0d72001587ab4027a90abd89d1895b73754f010.zip |
[Minor] Restore Lua 5.2 compatibility
Issue: #2826
Closes: #2826
Diffstat (limited to 'src/lua/lua_thread_pool.c')
-rw-r--r-- | src/lua/lua_thread_pool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_thread_pool.c b/src/lua/lua_thread_pool.c index d10f64579..3d289a12e 100644 --- a/src/lua/lua_thread_pool.c +++ b/src/lua/lua_thread_pool.c @@ -236,7 +236,7 @@ static gint lua_do_resume_full (lua_State *L, gint narg, const gchar *loc) { msg_debug_lua_threads ("%s: lua_do_resume_full", loc); -#if LUA_VERSION_NUM < 503 +#if LUA_VERSION_NUM < 502 return lua_resume (L, narg); #else return lua_resume (L, NULL, narg); |