From 4dbec3c0d4502478a15e6811bf9243d66f516463 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 8 Jan 2016 15:46:37 +0000 Subject: [PATCH] Fix precendence for ! and & --- src/libstat/stat_process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstat/stat_process.c b/src/libstat/stat_process.c index 78456018a..45a32b57c 100644 --- a/src/libstat/stat_process.c +++ b/src/libstat/stat_process.c @@ -521,7 +521,7 @@ rspamd_stat_backends_learn (struct rspamd_stat_ctx *st_ctx, continue; } - if (!task->flags & RSPAMD_TASK_FLAG_UNLEARN) { + if (!(task->flags & RSPAMD_TASK_FLAG_UNLEARN)) { if (!!spam != !!st->stcf->is_spam) { /* If we are not unlearning, then do not touch another class */ continue; -- 2.39.5