diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-03 16:23:34 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-03 16:23:34 +0100 |
commit | 5dea259459069c35a6afe94304810fe5365cd819 (patch) | |
tree | c25ca862bf77d89ee17e69fa19b95199e4f14cac /src/libserver/task.h | |
parent | c7ae2de0541e0772b08cf4121fbfbd83aa1235d2 (diff) | |
download | rspamd-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.h | 2 |
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 */ |