From: Vsevolod Stakhov Date: Wed, 22 Dec 2010 14:11:28 +0000 (+0300) Subject: Register virtual symbols for composites. X-Git-Tag: 0.3.7~96 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=58b4fd600f29fc3c7da691dfccfda3aeb3e9b9ef;p=rspamd.git Register virtual symbols for composites. --- diff --git a/src/cfg_xml.c b/src/cfg_xml.c index 389298e4a..70f3ebda8 100644 --- a/src/cfg_xml.c +++ b/src/cfg_xml.c @@ -1023,6 +1023,7 @@ handle_composite (struct config_file *cfg, struct rspamd_xml_userdata *ctx, GHas return FALSE; } g_hash_table_insert (cfg->composite_symbols, val, expr); + register_virtual_symbol (&cfg->cache, val, 1); return TRUE; }