aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-10-16 19:13:06 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-10-16 19:13:06 +0400
commitd7a22c22ccc8aa3cd95c461d13f538b6d321ddc1 (patch)
tree007c1c8bc33899e76965ccfbb5b75021092d6b01 /src/cfg_utils.c
parent8909ac45092c23bb6283ae389a5f6c94de49ad9d (diff)
downloadrspamd-d7a22c22ccc8aa3cd95c461d13f538b6d321ddc1.tar.gz
rspamd-d7a22c22ccc8aa3cd95c461d13f538b6d321ddc1.zip
* Add growing coefficient to factors consolidation callback
* Fix registering functions from lua
Diffstat (limited to 'src/cfg_utils.c')
-rw-r--r--src/cfg_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cfg_utils.c b/src/cfg_utils.c
index a1113f516..7b6470028 100644
--- a/src/cfg_utils.c
+++ b/src/cfg_utils.c
@@ -186,6 +186,7 @@ init_defaults (struct config_file *cfg)
cfg->max_statfile_size = DEFAULT_STATFILE_SIZE;
+ cfg->grow_factor = 1;
cfg->modules_opts = g_hash_table_new (g_str_hash, g_str_equal);
cfg->variables = g_hash_table_new (g_str_hash, g_str_equal);
cfg->metrics = g_hash_table_new (g_str_hash, g_str_equal);