commit fc4bcfb: [Minor] Explicitly resolve parent as it could not be resolved initially

Vsevolod Stakhov vsevolod at rspamd.com
Wed Jul 27 20:56:03 UTC 2022


Author: Vsevolod Stakhov
Date: 2022-07-27 21:53:26 +0100
URL: https://github.com/rspamd/rspamd/commit/fc4bcfbe94a2def980309d2a7c91aca5d4c6e5dd (HEAD -> master)

[Minor] Explicitly resolve parent as it could not be resolved initially

---
 src/libserver/symcache/symcache_impl.cxx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/libserver/symcache/symcache_impl.cxx b/src/libserver/symcache/symcache_impl.cxx
index 28db9aaa9..24c9851d4 100644
--- a/src/libserver/symcache/symcache_impl.cxx
+++ b/src/libserver/symcache/symcache_impl.cxx
@@ -495,6 +495,7 @@ auto symcache::get_item_by_name(std::string_view name, bool resolve_parent) cons
 	}
 
 	if (resolve_parent && it->second->is_virtual()) {
+		it->second->resolve_parent(*this);
 		return it->second->get_parent(*this);
 	}
 


More information about the Commits mailing list