From: Vsevolod Stakhov Date: Tue, 26 Jul 2011 11:45:21 +0000 (+0400) Subject: Another 'proper' place. X-Git-Tag: 0.4.1~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8e4282bb260132232c26f3f87f48181044ea6cc3;p=rspamd.git Another 'proper' place. --- diff --git a/src/main.c b/src/main.c index ae0148aa3..e37e830c0 100644 --- a/src/main.c +++ b/src/main.c @@ -879,6 +879,7 @@ main (gint argc, gchar **argv, gchar **env) rspamd_main->cfg->cache = g_new0 (struct symbols_cache, 1); rspamd_main->cfg->cache->static_pool = memory_pool_new (memory_pool_get_size ()); rspamd_main->cfg->cache->cfg = rspamd_main->cfg; + rspamd_main->cfg->cache->items_by_symbol = g_hash_table_new (g_str_hash, g_str_equal); /* Load config */ if (! load_rspamd_config (rspamd_main->cfg, TRUE)) {