]> source.dussan.org Git - rspamd.git/commitdiff
Disable binlog configuration as it is anyway broken.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 28 Oct 2014 23:24:53 +0000 (23:24 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 28 Oct 2014 23:24:53 +0000 (23:24 +0000)
src/libserver/cfg_rcl.c

index 750b7008736b88098a525d7791bcfdc6b8e32d93..922eb1ef4c42b80db671bbe8bf924484ee8fc106 100644 (file)
@@ -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)) {