From: Vsevolod Stakhov Date: Tue, 15 Mar 2016 09:27:31 +0000 (+0000) Subject: [Minor] Fix map callback type X-Git-Tag: 1.2.0~49 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ccd96f508baa194d699e2d3af6e336f0fe2e1682;p=rspamd.git [Minor] Fix map callback type --- 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;