From: Vsevolod Stakhov Date: Sat, 26 Jan 2019 17:03:15 +0000 (+0000) Subject: [Minor] Add missing actions X-Git-Tag: 1.9.0~249 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=da346dc41d500e0617a668fcb5158c1a9a3bd363;p=rspamd.git [Minor] Add missing actions --- diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c index 42e4bbc4a..0d3f1e75a 100644 --- a/src/libserver/cfg_utils.c +++ b/src/libserver/cfg_utils.c @@ -2266,6 +2266,10 @@ rspamd_action_to_str (enum rspamd_action_type action) return "invalid max action"; case METRIC_ACTION_CUSTOM: return "custom"; + case METRIC_ACTION_MILTER_DISCARD: + return "discard"; + case METRIC_ACTION_MILTER_QUARANTINE: + return "quarantine"; } return "unknown action"; @@ -2291,6 +2295,10 @@ rspamd_action_to_str_alt (enum rspamd_action_type action) return "invalid max action"; case METRIC_ACTION_CUSTOM: return "custom"; + case METRIC_ACTION_MILTER_DISCARD: + return "discard"; + case METRIC_ACTION_MILTER_QUARANTINE: + return "quarantine"; } return "unknown action";