diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-09 18:55:45 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-09 18:55:45 +0100 |
commit | 1321e13e3d5e717d78d30e7eebdb069a9ebea390 (patch) | |
tree | 4980cea6e7da701cb8d291959c4664ad9976d4ed /src/libserver/dynamic_cfg.c | |
parent | b5e2ec2942b303b8d95989b9e7f3cec5debe4f00 (diff) | |
download | rspamd-1321e13e3d5e717d78d30e7eebdb069a9ebea390.tar.gz rspamd-1321e13e3d5e717d78d30e7eebdb069a9ebea390.zip |
[Rework] Adopt new maps code
Issue: #616
Diffstat (limited to 'src/libserver/dynamic_cfg.c')
-rw-r--r-- | src/libserver/dynamic_cfg.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libserver/dynamic_cfg.c b/src/libserver/dynamic_cfg.c index 3a76f20f9..d31418588 100644 --- a/src/libserver/dynamic_cfg.c +++ b/src/libserver/dynamic_cfg.c @@ -134,8 +134,7 @@ apply_dynamic_conf (const ucl_object_t *top, struct rspamd_config *cfg) /* Callbacks for reading json dynamic rules */ static gchar * -json_config_read_cb (rspamd_mempool_t * pool, - gchar * chunk, +json_config_read_cb (gchar * chunk, gint len, struct map_cb_data *data, gboolean final) @@ -167,7 +166,7 @@ json_config_read_cb (rspamd_mempool_t * pool, } static void -json_config_fin_cb (rspamd_mempool_t * pool, struct map_cb_data *data) +json_config_fin_cb (struct map_cb_data *data) { struct config_json_buf *jb; ucl_object_t *top; |