From ccd96f508baa194d699e2d3af6e336f0fe2e1682 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 15 Mar 2016 09:27:31 +0000 Subject: [PATCH] [Minor] Fix map callback type --- src/libserver/cfg_utils.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c index 01aca11ef..c710cb40e 100644 --- a/src/libserver/cfg_utils.c +++ b/src/libserver/cfg_utils.c @@ -44,7 +44,8 @@ struct rspamd_ucl_map_cbdata { static gchar * rspamd_ucl_read_cb (rspamd_mempool_t * pool, gchar * chunk, gint len, - struct map_cb_data *data); + struct map_cb_data *data, + gboolean final); static void rspamd_ucl_fin_cb (rspamd_mempool_t * pool, struct map_cb_data *data); @@ -1110,7 +1111,8 @@ static gchar * rspamd_ucl_read_cb (rspamd_mempool_t * pool, gchar * chunk, gint len, - struct map_cb_data *data) + struct map_cb_data *data, + gboolean final) { struct rspamd_ucl_map_cbdata *cbdata = data->cur_data, *prev; -- 2.39.5