From abb6a8e41b9d5a9eb671222bfc77814eb0731212 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 28 Oct 2014 23:24:53 +0000 Subject: [PATCH] Disable binlog configuration as it is anyway broken. --- src/libserver/cfg_rcl.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c index 750b70087..922eb1ef4 100644 --- a/src/libserver/cfg_rcl.c +++ b/src/libserver/cfg_rcl.c @@ -852,12 +852,13 @@ rspamd_rcl_statfile_handler (struct rspamd_config *cfg, const ucl_object_t *obj, struct rspamd_classifier_config *ccf = ud; const ucl_object_t *val; struct rspamd_statfile_config *st; - const gchar *data; - gdouble binlog_rotate; GList *labels; st = rspamd_config_new_statfile (cfg, NULL); +#if 0 + const gchar *data; + gdouble binlog_rotate; val = ucl_object_find_key (obj, "binlog"); if (val != NULL && ucl_object_tostring_safe (val, &data)) { if (st->binlog == NULL) { @@ -888,6 +889,7 @@ rspamd_rcl_statfile_handler (struct rspamd_config *cfg, const ucl_object_t *obj, } } } +#endif if (rspamd_rcl_section_parse_defaults (section, cfg, obj, st, err)) { -- 2.39.5