]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Try to fix symbols processing order
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 2 Mar 2017 16:58:23 +0000 (16:58 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 2 Mar 2017 16:58:42 +0000 (16:58 +0000)
src/libserver/symbols_cache.c

index 59b0ab5d6430042219b35fe4d56a8a79b1c7b8eb..42232b9ec71c1718d0ff44a68dff4a0f79e2df04 100644 (file)
@@ -1641,7 +1641,9 @@ rspamd_symbols_cache_process_symbols (struct rspamd_task * task,
 
                if (all_done || stage == RSPAMD_TASK_STAGE_FILTERS) {
                        checkpoint->pass = RSPAMD_CACHE_PASS_FILTERS;
+               }
 
+               if (stage == RSPAMD_TASK_STAGE_FILTERS) {
                        return rspamd_symbols_cache_process_symbols (task, cache, stage);
                }
                break;