commit 95c8569: [Minor] #3129 Multiple classifiers on redis working incorrectly
resec
resec0109 at gmail.com
Mon Nov 18 11:49:12 UTC 2019
Author: resec
Date: 2019-11-07 19:00:03 +0800
URL: https://github.com/rspamd/rspamd/commit/95c85692488911c9c8aa1b44027ed2c6b8b7be9c
[Minor] #3129 Multiple classifiers on redis working incorrectly
---
src/libstat/backends/redis_backend.c | 2 +-
src/libstat/stat_process.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libstat/backends/redis_backend.c b/src/libstat/backends/redis_backend.c
index 7d79272c0..08edf1a4f 100644
--- a/src/libstat/backends/redis_backend.c
+++ b/src/libstat/backends/redis_backend.c
@@ -1328,7 +1328,7 @@ rspamd_redis_connected (redisAsyncContext *c, gpointer r, gpointer priv)
msg_warn_task ("skip obtaining bayes tokens for %s of classifier "
"%s: not enough learns %d; %d required",
rt->stcf->symbol, rt->stcf->clcf->name,
- (int)rt->learned, rt->stcf->clcf->min_learns););
+ (int)rt->learned, rt->stcf->clcf->min_learns);
}
}
}
diff --git a/src/libstat/stat_process.c b/src/libstat/stat_process.c
index 2ad7080d0..603e0ac96 100644
--- a/src/libstat/stat_process.c
+++ b/src/libstat/stat_process.c
@@ -342,7 +342,7 @@ rspamd_stat_classifiers_process (struct rspamd_stat_ctx *st_ctx,
if (bk_run != NULL) {
if (!st->backend->finalize_process (task, bk_run, st_ctx)) {
skip = TRUE;
- break
+ break;
}
}
}
More information about the Commits
mailing list