aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/roll_history.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-08 18:45:08 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-08 18:45:08 +0000
commit3c870de8e3a3ea5640127ef45584cdbc6b1d3840 (patch)
tree2f1cb9f35c96341aed4ea20e93584f0738d63c4f /src/libserver/roll_history.c
parentff660e595fb04857e73e1f84d1e13d412fb980ef (diff)
downloadrspamd-3c870de8e3a3ea5640127ef45584cdbc6b1d3840.tar.gz
rspamd-3c870de8e3a3ea5640127ef45584cdbc6b1d3840.zip
Fix for the new libucl API
Diffstat (limited to 'src/libserver/roll_history.c')
-rw-r--r--src/libserver/roll_history.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/roll_history.c b/src/libserver/roll_history.c
index e94eccad6..89185825a 100644
--- a/src/libserver/roll_history.c
+++ b/src/libserver/roll_history.c
@@ -372,7 +372,7 @@ rspamd_roll_history_save (struct roll_history *history, const gchar *filename)
}
emitter_func = ucl_object_emit_fd_funcs (fd);
- ucl_object_emit_full (obj, UCL_EMIT_JSON_COMPACT, emitter_func);
+ ucl_object_emit_full (obj, UCL_EMIT_JSON_COMPACT, emitter_func, NULL);
ucl_object_emit_funcs_free (emitter_func);
ucl_object_unref (obj);