aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-03 16:23:34 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-03 16:23:34 +0100
commit5dea259459069c35a6afe94304810fe5365cd819 (patch)
treec25ca862bf77d89ee17e69fa19b95199e4f14cac /src/libserver/task.h
parentc7ae2de0541e0772b08cf4121fbfbd83aa1235d2 (diff)
downloadrspamd-5dea259459069c35a6afe94304810fe5365cd819.tar.gz
rspamd-5dea259459069c35a6afe94304810fe5365cd819.zip
[CritFix] Restore the intended pre-filters behaviour
Previously, filters and post-filters were checked even if pre-filter has set some result. Now pre-result efficienly makes a trapdoor to writing reply (as it was before 1.0).
Diffstat (limited to 'src/libserver/task.h')
-rw-r--r--src/libserver/task.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/task.h b/src/libserver/task.h
index 8aeb7dc6b..8b0fdb999 100644
--- a/src/libserver/task.h
+++ b/src/libserver/task.h
@@ -178,7 +178,7 @@ struct rspamd_task {
gpointer checkpoint; /**< Opaque checkpoint data */
struct {
- guint32 action; /**< Action of pre filters */
+ gint action; /**< Action of pre filters */
gchar *str; /**< String describing action */
} pre_result; /**< Result of pre-filters */