diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-05-10 17:53:10 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-05-10 17:53:10 +0100 |
commit | add9643384954079d7975707b3476ca927640849 (patch) | |
tree | 5e92729f21b9e61d09b51aa70d8baf966cf57b50 | |
parent | b218ec15bdae237f5ec9f23821239c29e2d3757d (diff) | |
download | rspamd-add9643384954079d7975707b3476ca927640849.tar.gz rspamd-add9643384954079d7975707b3476ca927640849.zip |
[Minor] Fix gc in lua tests
-rw-r--r-- | test/rspamd_lua_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rspamd_lua_test.c b/test/rspamd_lua_test.c index 5b310a7db..fc7979ee8 100644 --- a/test/rspamd_lua_test.c +++ b/test/rspamd_lua_test.c @@ -58,7 +58,7 @@ traceback (lua_State *L) void rspamd_lua_test_func (void) { - lua_State *L = rspamd_lua_init (false); + lua_State *L = (lua_State *)rspamd_main->cfg->lua_state; gchar *rp, rp_buf[PATH_MAX], path_buf[PATH_MAX], *tmp, *dir, *pattern; const gchar *old_path; glob_t globbuf; |