aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/stat_config.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-10-21 15:17:12 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-10-21 15:17:12 +0100
commit923f93fb6bad21c3a6edadca15e516daa05d1e5f (patch)
tree19f723c0a282d3af68c6ba131f4f6f59a724ad84 /src/libstat/stat_config.c
parent0261cb3c5f37b3cb6a6a1c5850b11d29838e4e0e (diff)
downloadrspamd-923f93fb6bad21c3a6edadca15e516daa05d1e5f.tar.gz
rspamd-923f93fb6bad21c3a6edadca15e516daa05d1e5f.zip
[Minor] Fix several issues found
Diffstat (limited to 'src/libstat/stat_config.c')
-rw-r--r--src/libstat/stat_config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstat/stat_config.c b/src/libstat/stat_config.c
index 5f48cf1f9..d6fdc9673 100644
--- a/src/libstat/stat_config.c
+++ b/src/libstat/stat_config.c
@@ -330,10 +330,10 @@ rspamd_stat_init (struct rspamd_config *cfg, struct ev_loop *ev_base)
st->classifier = cl;
st->stcf = stf;
- if (!(cl->cfg->flags & RSPAMD_FLAG_CLASSIFIER_NO_BACKEND) && bk) {
+ if (!(cl->cfg->flags & RSPAMD_FLAG_CLASSIFIER_NO_BACKEND)) {
st->backend = bk;
st->bkcf = bk->init (stat_ctx, cfg, st);
- msg_debug_config ("added backend %s for symbol %s",
+ msg_info_config ("added backend %s for symbol %s",
bk->name, stf->symbol);
}
else {