diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-30 12:56:07 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-30 12:56:07 +0000 |
commit | e3a8756d4fbad2d4653a32f70af17d4fe7a549f3 (patch) | |
tree | cbd9185dcfb906351c598c1cb146ad6fce763338 /src/libserver/cfg_utils.c | |
parent | c251d1cf19292116341e13c12243863d5e440217 (diff) | |
download | rspamd-e3a8756d4fbad2d4653a32f70af17d4fe7a549f3.tar.gz rspamd-e3a8756d4fbad2d4653a32f70af17d4fe7a549f3.zip |
Fix configtest
Diffstat (limited to 'src/libserver/cfg_utils.c')
-rw-r--r-- | src/libserver/cfg_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c index 4fdc78526..9447eaf32 100644 --- a/src/libserver/cfg_utils.c +++ b/src/libserver/cfg_utils.c @@ -658,7 +658,7 @@ rspamd_config_post_load (struct rspamd_config *cfg, gboolean validate_cache) rspamd_url_init (cfg->tld_file); /* Insert classifiers symbols */ - (void)rspamd_config_insert_classify_symbols (cfg); + rspamd_config_insert_classify_symbols (cfg); /* Parse format string that we have */ if (!rspamd_config_parse_log_format (cfg)) { @@ -986,7 +986,7 @@ symbols_classifiers_callback (gpointer key, gpointer value, gpointer ud) /* Actually, statistics should act like any ordinary symbol */ rspamd_symbols_cache_add_symbol (cfg->cache, key, 0, NULL, NULL, - SYMBOL_TYPE_COMPOSITE, -1); + SYMBOL_TYPE_CLASSIFIER, -1); } void |