commit 796e1c9: [Minor] Settings: Fix virtual symbols disabling
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon Jun 24 15:35:06 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-06-24 16:28:20 +0100
URL: https://github.com/rspamd/rspamd/commit/796e1c90d649f2d744d6f95700bb31e0e524c984 (HEAD -> master)
[Minor] Settings: Fix virtual symbols disabling
---
src/libserver/rspamd_symcache.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/libserver/rspamd_symcache.c b/src/libserver/rspamd_symcache.c
index 4cb44cc33..943987cc6 100644
--- a/src/libserver/rspamd_symcache.c
+++ b/src/libserver/rspamd_symcache.c
@@ -3259,7 +3259,10 @@ rspamd_symcache_process_settings_elt (struct rspamd_symcache *cache,
* we ignore them in symcache but prevent them from being
* inserted.
*/
- msg_debug_cache ("skip virtual symbol %s for settings id %ud (%s)",
+ rspamd_symcache_add_id_to_list (cache->static_pool,
+ &item->forbidden_ids, id);
+ msg_debug_cache ("deny virtual symbol %s for settings %ud (%s); "
+ "parent can still be executed",
sym, id, elt->name);
}
else {
More information about the Commits
mailing list