aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-11-27 11:40:46 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-11-27 11:40:46 +0000
commitdbda775006d17786fe534a0adcb4df63dc560ab4 (patch)
tree51eae27652e23fe028654f9aec5ea1ff47940609 /src/libserver/task.c
parent7242fd00f2e93c59dddeab0f7c36f92c515fd852 (diff)
downloadrspamd-dbda775006d17786fe534a0adcb4df63dc560ab4.tar.gz
rspamd-dbda775006d17786fe534a0adcb4df63dc560ab4.zip
[Minor] Style: Fix logical order
Diffstat (limited to 'src/libserver/task.c')
-rw-r--r--src/libserver/task.c12
1 files 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: