aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/lua_repl.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-29 13:19:14 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-29 13:19:14 +0000
commit34f0b5587e72a7f77425d9faccac8b03b363fdcc (patch)
tree1a03c4c065315bdbdf02f47bfc6c9e64ab90e7d7 /src/rspamadm/lua_repl.c
parent8376bed06ce63da58256c383f1899f17094140d1 (diff)
downloadrspamd-34f0b5587e72a7f77425d9faccac8b03b363fdcc.tar.gz
rspamd-34f0b5587e72a7f77425d9faccac8b03b363fdcc.zip
[Rework] Change time handling
Diffstat (limited to 'src/rspamadm/lua_repl.c')
-rw-r--r--src/rspamadm/lua_repl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamadm/lua_repl.c b/src/rspamadm/lua_repl.c
index a43527823..6d1501100 100644
--- a/src/rspamadm/lua_repl.c
+++ b/src/rspamadm/lua_repl.c
@@ -431,7 +431,7 @@ rspamadm_lua_message_handler (lua_State *L, gint argc, gchar **argv)
rspamd_printf ("cannot open %s: %s\n", argv[i], strerror (errno));
}
else {
- task = rspamd_task_new (NULL, rspamd_main->cfg, NULL, NULL);
+ task = rspamd_task_new (NULL, rspamd_main->cfg, NULL, NULL, NULL);
if (!rspamd_task_load_message (task, NULL, map, len)) {
rspamd_printf ("cannot load %s\n", argv[i]);