]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Style: Fix logical order
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 27 Nov 2020 11:40:46 +0000 (11:40 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 27 Nov 2020 11:40:46 +0000 (11:40 +0000)
src/libserver/task.c

index e7a83a60389afef4fc7512efbb8b9e77c38cc26f..1f22e2715e9a875d4dd436e9c015efde5e1d24e8 100644 (file)
@@ -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: