diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-08 15:46:37 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-08 15:46:37 +0000 |
commit | 4dbec3c0d4502478a15e6811bf9243d66f516463 (patch) | |
tree | cdd4c3a2702de8727fe18c51a12d69b99f3a6500 /src/libstat | |
parent | 56659c6655ac676ace736ae419554d71057ce08e (diff) | |
download | rspamd-4dbec3c0d4502478a15e6811bf9243d66f516463.tar.gz rspamd-4dbec3c0d4502478a15e6811bf9243d66f516463.zip |
Fix precendence for ! and &
Diffstat (limited to 'src/libstat')
-rw-r--r-- | src/libstat/stat_process.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |