diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-05-12 14:09:31 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-05-12 14:47:15 +0100 |
commit | 05658991f0c220893226798b0e1285f946e02b71 (patch) | |
tree | 56e83eefd3f6dfa65a109001c7c361df840dcf7e /src/lua/lua_logger.c | |
parent | ec8d3d1daa03ac410e4daacf19a0563b5e99f52d (diff) | |
download | rspamd-05658991f0c220893226798b0e1285f946e02b71.tar.gz rspamd-05658991f0c220893226798b0e1285f946e02b71.zip |
[Fix] Fix tables logging
Diffstat (limited to 'src/lua/lua_logger.c')
-rw-r--r-- | src/lua/lua_logger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_logger.c b/src/lua/lua_logger.c index 2378ea59b..f112b4dfc 100644 --- a/src/lua/lua_logger.c +++ b/src/lua/lua_logger.c @@ -405,7 +405,7 @@ lua_logger_out_table (lua_State *L, gint pos, gchar *outbuf, gsize len) r = rspamd_snprintf (d, remain + 1, "[%d] = ", i); MOVE_BUF(d, remain, r); - r = lua_logger_out_type (L, -1, d, remain); + r = lua_logger_out_type (L, lua_gettop (L), d, remain); MOVE_BUF(d, remain, r); first = FALSE; |