From 5dea259459069c35a6afe94304810fe5365cd819 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 3 May 2016 16:23:34 +0100 Subject: [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). --- src/libserver/task.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libserver/task.h') 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 */ -- cgit v1.2.3