From 1b34354919b33ae45d65fe82efca0090b34114f2 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 6 Nov 2015 13:26:28 +0000 Subject: Start implementation of flexible task logging --- src/lua/lua_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lua') 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); -- cgit v1.2.3