diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-06 13:26:28 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-06 13:26:28 +0000 |
commit | 1b34354919b33ae45d65fe82efca0090b34114f2 (patch) | |
tree | a4dc1c1c4b995a3365d5d410480ad183cc3704c4 /src/lua | |
parent | 86cbc23ee5a3503ce6989bbce2117aad96c050f8 (diff) | |
download | rspamd-1b34354919b33ae45d65fe82efca0090b34114f2.tar.gz rspamd-1b34354919b33ae45d65fe82efca0090b34114f2.zip |
Start implementation of flexible task logging
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/lua_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c index 0ea6f4d54..48a07d9f2 100644 --- a/src/lua/lua_util.c +++ b/src/lua/lua_util.c @@ -221,7 +221,7 @@ lua_util_task_fin (struct rspamd_task *task, void *ud) { ucl_object_t **target = ud; - *target = rspamd_protocol_write_ucl (task, NULL); + *target = rspamd_protocol_write_ucl (task); rdns_resolver_release (task->resolver->r); return TRUE; @@ -267,7 +267,7 @@ lua_util_process_message (lua_State *L) ucl_object_unref (res); } else { - ucl_object_push_lua (L, rspamd_protocol_write_ucl (task, NULL), + ucl_object_push_lua (L, rspamd_protocol_write_ucl (task), true); rdns_resolver_release (task->resolver->r); rspamd_task_free_hard (task); |