commit fa5a067: [Minor] Fix misprint

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Mar 4 15:07:05 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-03-04 14:59:40 +0000
URL: https://github.com/rspamd/rspamd/commit/fa5a0679bd5d3e2146d2c6d3c70ed6d4447f3925 (HEAD -> master)

[Minor] Fix misprint
Issue: #3656

---
 src/lua/lua_thread_pool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lua/lua_thread_pool.c b/src/lua/lua_thread_pool.c
index 8220bb3ff..89a516a27 100644
--- a/src/lua/lua_thread_pool.c
+++ b/src/lua/lua_thread_pool.c
@@ -240,7 +240,7 @@ lua_do_resume_full (lua_State *L, gint narg, const gchar *loc)
 	return lua_resume (L, narg);
 #else
 	#if LUA_VERSION_NUM >= 504
-	return lua_resume (L, from, nargs, NULL);
+	return lua_resume (L, NULL, narg, NULL);
 	#else
 	return lua_resume (L, NULL, narg);
 	#endif


More information about the Commits mailing list