aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/dynamic_cfg.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/dynamic_cfg.c
parentff660e595fb04857e73e1f84d1e13d412fb980ef (diff)
downloadrspamd-3c870de8e3a3ea5640127ef45584cdbc6b1d3840.tar.gz
rspamd-3c870de8e3a3ea5640127ef45584cdbc6b1d3840.zip
Fix for the new libucl API
Diffstat (limited to 'src/libserver/dynamic_cfg.c')
-rw-r--r--src/libserver/dynamic_cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/dynamic_cfg.c b/src/libserver/dynamic_cfg.c
index 1149a92e0..92447a037 100644
--- a/src/libserver/dynamic_cfg.c
+++ b/src/libserver/dynamic_cfg.c
@@ -290,7 +290,7 @@ dump_dynamic_config (struct rspamd_config *cfg)
}
if (!ucl_object_emit_full (cfg->current_dynamic_conf, UCL_EMIT_JSON,
- ucl_object_emit_fd_funcs (fd))) {
+ ucl_object_emit_fd_funcs (fd), NULL)) {
msg_err ("cannot emit ucl object: %s", strerror (errno));
close (fd);
return FALSE;