]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix map callback type
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 15 Mar 2016 09:27:31 +0000 (09:27 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 15 Mar 2016 09:27:31 +0000 (09:27 +0000)
src/libserver/cfg_utils.c

index 01aca11ef9abb4de39bb4dad6118db71c844ad25..c710cb40e4ad4e84f89b36063751189663f50fbf 100644 (file)
@@ -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;