From: Vsevolod Stakhov Date: Thu, 2 Mar 2017 16:58:23 +0000 (+0000) Subject: [Fix] Try to fix symbols processing order X-Git-Tag: 1.5.1~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d7005c25d92b4ff085831fe947695d865e57ea87;p=rspamd.git [Fix] Try to fix symbols processing order --- diff --git a/src/libserver/symbols_cache.c b/src/libserver/symbols_cache.c index 59b0ab5d6..42232b9ec 100644 --- a/src/libserver/symbols_cache.c +++ b/src/libserver/symbols_cache.c @@ -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;