diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-07-26 15:45:21 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-07-26 15:45:21 +0400 |
commit | 8e4282bb260132232c26f3f87f48181044ea6cc3 (patch) | |
tree | 49bb90d1681d099cbff06b95fc05a17833c61c8d /src/main.c | |
parent | b90453e65ae072c0de6e3ec748a0f41ebb17e0ca (diff) | |
download | rspamd-8e4282bb260132232c26f3f87f48181044ea6cc3.tar.gz rspamd-8e4282bb260132232c26f3f87f48181044ea6cc3.zip |
Another 'proper' place.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 1 |
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)) { |