]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Explicitly resolve parent as it could not be resolved initially
authorVsevolod Stakhov <vsevolod@rspamd.com>
Wed, 27 Jul 2022 20:53:26 +0000 (21:53 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Wed, 27 Jul 2022 20:53:26 +0000 (21:53 +0100)
src/libserver/symcache/symcache_impl.cxx

index 28db9aaa997d4e6d8f89178943f2efc15c8b26bf..24c9851d49418f0018d20e7ad9115118f7d660a9 100644 (file)
@@ -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);
        }