aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/lua_repl.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-01-01 18:58:01 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-01-01 18:58:01 +0000
commit1f58c5fa9805a404c9a942f110589fce464825df (patch)
tree90708b845ad6139d0b9214a63fd255bf75462af6 /src/rspamadm/lua_repl.c
parent60383ec549918fe5f0a1bbdda09fd74abac56e09 (diff)
downloadrspamd-1f58c5fa9805a404c9a942f110589fce464825df.tar.gz
rspamd-1f58c5fa9805a404c9a942f110589fce464825df.zip
[Project] Initialize language detector
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 0edfeb05e..e0ee7d9f1 100644
--- a/src/rspamadm/lua_repl.c
+++ b/src/rspamadm/lua_repl.c
@@ -372,7 +372,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, NULL, NULL);
+ task = rspamd_task_new (NULL, NULL, NULL, NULL);
if (!rspamd_task_load_message (task, NULL, map, len)) {
rspamd_printf ("cannot load %s\n", argv[i]);