diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-23 18:43:16 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-23 18:43:16 +0000 |
commit | 23b99d31a9a620b3c62848da4126dbbf0642f6db (patch) | |
tree | beb2ae9a991c97e9c6eb3c0f8baa8a43076e0a11 /src/lua/lua_util.c | |
parent | db425a97b301299cc0d2cb732a5e266e83216299 (diff) | |
download | rspamd-23b99d31a9a620b3c62848da4126dbbf0642f6db.tar.gz rspamd-23b99d31a9a620b3c62848da4126dbbf0642f6db.zip |
[Project] Allow to enable mempool debugging from the protocol
Diffstat (limited to 'src/lua/lua_util.c')
-rw-r--r-- | src/lua/lua_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c index b71339402..3a3561e2f 100644 --- a/src/lua/lua_util.c +++ b/src/lua/lua_util.c @@ -873,7 +873,7 @@ lua_util_process_message (lua_State *L) if (cfg != NULL && message != NULL) { base = ev_loop_new (EVFLAG_SIGNALFD|EVBACKEND_ALL); rspamd_init_filters (cfg, FALSE); - task = rspamd_task_new (NULL, cfg, NULL, NULL, base); + task = rspamd_task_new (NULL, cfg, NULL, NULL, base, FALSE); task->msg.begin = rspamd_mempool_alloc (task->task_pool, mlen); rspamd_strlcpy ((gpointer)task->msg.begin, message, mlen); task->msg.len = mlen; |