summaryrefslogtreecommitdiffstats
path: root/src/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-09-08 20:13:29 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-09-08 20:13:29 +0400
commitc6d4570aa00c93e6d142aaa8cd38a3c9ee29eb8f (patch)
tree51fd7b69c3cee4817daca44c15ea2576f3e37d68 /src/cfg_utils.c
parent9af09b7467a4b9b7b2c9fbf1390b481e71bb07c6 (diff)
downloadrspamd-c6d4570aa00c93e6d142aaa8cd38a3c9ee29eb8f.tar.gz
rspamd-c6d4570aa00c93e6d142aaa8cd38a3c9ee29eb8f.zip
* Make settings working
Diffstat (limited to 'src/cfg_utils.c')
-rw-r--r--src/cfg_utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cfg_utils.c b/src/cfg_utils.c
index 21092356f..7d06e662c 100644
--- a/src/cfg_utils.c
+++ b/src/cfg_utils.c
@@ -29,6 +29,7 @@
#include "cfg_file.h"
#include "main.h"
#include "filter.h"
+#include "settings.h"
#include "classifiers/classifiers.h"
#define DEFAULT_SCORE 10.0
@@ -187,6 +188,7 @@ init_defaults (struct config_file *cfg)
cfg->composite_symbols = g_hash_table_new (g_str_hash, g_str_equal);
cfg->statfiles = g_hash_table_new (g_str_hash, g_str_equal);
cfg->cfg_params = g_hash_table_new (g_str_hash, g_str_equal);
+ init_settings (cfg);
}