summaryrefslogtreecommitdiffstats
path: root/src/cfg_xml.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-04-27 20:51:56 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-04-27 20:51:56 +0400
commit8fe7e64dfae9c4da3a6b38769bf5d54d46d50beb (patch)
treec750b1e0a00803fe329977943275be6c4d433d2a /src/cfg_xml.c
parentfe5e1614f36236654623667df4f317ae5e5e1806 (diff)
downloadrspamd-8fe7e64dfae9c4da3a6b38769bf5d54d46d50beb.tar.gz
rspamd-8fe7e64dfae9c4da3a6b38769bf5d54d46d50beb.zip
* Add ability to specify dnsbls for smtp_proxy.
Fix handling of params with the same name in configuration. Add ability for rspamc to bind on a local address.
Diffstat (limited to 'src/cfg_xml.c')
-rw-r--r--src/cfg_xml.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cfg_xml.c b/src/cfg_xml.c
index 924dc283e..d681ec252 100644
--- a/src/cfg_xml.c
+++ b/src/cfg_xml.c
@@ -916,6 +916,7 @@ worker_handle_param (struct config_file *cfg, struct rspamd_xml_userdata *ctx, c
param->is_list = TRUE;
tmp = param->d.param;
param->d.list = g_list_prepend (NULL, (gpointer)tmp);
+ param->d.list = g_list_append (param->d.list, memory_pool_strdup (cfg->cfg_pool, data));
memory_pool_add_destructor (cfg->cfg_pool, (pool_destruct_func)g_list_free, param->d.list);
}
}