diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-08 19:16:56 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-08 19:16:56 +0100 |
commit | e7a43c0fb358c1947fa3e21f2f2442408372d348 (patch) | |
tree | e895630f0a9c21d88da6ef95e077f3baaa3cea13 /src/rspamadm | |
parent | e825c3d0d96836c341aeb252c95cf11bb7eab67b (diff) | |
download | rspamd-e7a43c0fb358c1947fa3e21f2f2442408372d348.tar.gz rspamd-e7a43c0fb358c1947fa3e21f2f2442408372d348.zip |
[Minor] Allow to set custom pool for a task
Diffstat (limited to 'src/rspamadm')
-rw-r--r-- | src/rspamadm/lua_repl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamadm/lua_repl.c b/src/rspamadm/lua_repl.c index d7d7721a8..7cf014fbe 100644 --- a/src/rspamadm/lua_repl.c +++ b/src/rspamadm/lua_repl.c @@ -358,7 +358,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); + task = rspamd_task_new (NULL, NULL, NULL); if (!rspamd_task_load_message (task, NULL, map, len)) { rspamd_printf ("cannot load %s\n", argv[i]); |