aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/rspamadm.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-18 16:01:05 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-18 16:01:05 +0000
commitaef1cac108507fcefba54694f46c4f2e8069c31d (patch)
tree5944bb32de8f4ded1cc972bf101f8846338418f2 /src/rspamadm/rspamadm.c
parent9b31d260b9bee44456fd2f37eee6c4ba2c8aba60 (diff)
downloadrspamd-aef1cac108507fcefba54694f46c4f2e8069c31d.tar.gz
rspamd-aef1cac108507fcefba54694f46c4f2e8069c31d.zip
Implement refcounting for configuration
Diffstat (limited to 'src/rspamadm/rspamadm.c')
-rw-r--r--src/rspamadm/rspamadm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamadm/rspamadm.c b/src/rspamadm/rspamadm.c
index 5751c50d0..d0e1caf8b 100644
--- a/src/rspamadm/rspamadm.c
+++ b/src/rspamadm/rspamadm.c
@@ -208,7 +208,7 @@ main (gint argc, gchar **argv, gchar **env)
rspamd_strcase_equal, g_free, g_free);
ottery_init (NULL);
process_quark = g_quark_from_static_string ("rspamadm");
- cfg = rspamd_config_defaults ();
+ cfg = rspamd_config_new ();
cfg->libs_ctx = rspamd_init_libs ();
rspamd_main = g_malloc0 (sizeof (*rspamd_main));
rspamd_main->cfg = cfg;