aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-07-26 15:45:21 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-07-26 15:45:21 +0400
commit8e4282bb260132232c26f3f87f48181044ea6cc3 (patch)
tree49bb90d1681d099cbff06b95fc05a17833c61c8d /src/main.c
parentb90453e65ae072c0de6e3ec748a0f41ebb17e0ca (diff)
downloadrspamd-8e4282bb260132232c26f3f87f48181044ea6cc3.tar.gz
rspamd-8e4282bb260132232c26f3f87f48181044ea6cc3.zip
Another 'proper' place.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
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)) {