commit c816961: [Minor] Add settings id recognition

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Aug 1 17:14:05 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-08-01 17:56:44 +0100
URL: https://github.com/rspamd/rspamd/commit/c8169619f2385faf6d2a46ef7b9d1b060f1efa91

[Minor] Add settings id recognition

---
 src/libserver/cfg_utils.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c
index 525a72a74..71bfa5946 100644
--- a/src/libserver/cfg_utils.c
+++ b/src/libserver/cfg_utils.c
@@ -500,6 +500,9 @@ rspamd_config_process_var (struct rspamd_config *cfg, const rspamd_ftok_t *var,
 	else if (rspamd_ftok_cstr_equal (&tok, "forced_action", TRUE)) {
 		type = RSPAMD_LOG_FORCED_ACTION;
 	}
+	else if (rspamd_ftok_cstr_equal (&tok, "settings_id", TRUE)) {
+		type = RSPAMD_LOG_SETTINGS_ID;
+	}
 	else {
 		msg_err_config ("unknown log variable: %T", &tok);
 		return FALSE;


More information about the Commits mailing list