commit dbda775: [Minor] Style: Fix logical order
Vsevolod Stakhov
vsevolod at highsecure.ru
Fri Nov 27 11:42:07 UTC 2020
Author: Vsevolod Stakhov
Date: 2020-11-27 11:40:46 +0000
URL: https://github.com/rspamd/rspamd/commit/dbda775006d17786fe534a0adcb4df63dc560ab4 (HEAD -> master)
[Minor] Style: Fix logical order
---
src/libserver/task.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/libserver/task.c b/src/libserver/task.c
index e7a83a603..1f22e2715 100644
--- a/src/libserver/task.c
+++ b/src/libserver/task.c
@@ -727,18 +727,18 @@ rspamd_task_process (struct rspamd_task *task, guint stages)
}
break;
- case RSPAMD_TASK_STAGE_CONNFILTERS:
- case RSPAMD_TASK_STAGE_PRE_FILTERS:
- case RSPAMD_TASK_STAGE_FILTERS:
- all_done = rspamd_symcache_process_symbols (task, task->cfg->cache, st);
- break;
-
case RSPAMD_TASK_STAGE_PROCESS_MESSAGE:
if (!(task->flags & RSPAMD_TASK_FLAG_SKIP_PROCESS)) {
rspamd_message_process (task);
}
break;
+ case RSPAMD_TASK_STAGE_CONNFILTERS:
+ case RSPAMD_TASK_STAGE_PRE_FILTERS:
+ case RSPAMD_TASK_STAGE_FILTERS:
+ all_done = rspamd_symcache_process_symbols (task, task->cfg->cache, st);
+ break;
+
case RSPAMD_TASK_STAGE_CLASSIFIERS:
case RSPAMD_TASK_STAGE_CLASSIFIERS_PRE:
case RSPAMD_TASK_STAGE_CLASSIFIERS_POST:
More information about the Commits
mailing list