]> source.dussan.org Git - rspamd.git/commitdiff
Set processed flag on task.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 2 Jun 2015 15:36:12 +0000 (16:36 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 2 Jun 2015 15:36:12 +0000 (16:36 +0100)
src/libserver/task.c

index 315732f97b3f990b9e8079c18f540273e662f0ae..d5a7243a3fe958e9464afe2dbdaac0a62ea68659 100644 (file)
@@ -449,6 +449,7 @@ rspamd_task_process (struct rspamd_task *task, guint stages)
                break;
 
        case RSPAMD_TASK_STAGE_DONE:
+               task->processed_stages |= RSPAMD_TASK_STAGE_DONE;
                return TRUE;
 
        default: