From 7448425afed57c354987d1a340cb58e45d24d9d5 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 24 Apr 2018 15:57:20 +0100 Subject: [Fix] Add resolving version of radix map helper --- src/libserver/cfg_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libserver') diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c index 69dc3577e..1a2f473e7 100644 --- a/src/libserver/cfg_utils.c +++ b/src/libserver/cfg_utils.c @@ -1798,7 +1798,7 @@ rspamd_config_radix_from_ucl (struct rspamd_config *cfg, else { /* Just a list */ *target = rspamd_map_helper_new_radix (NULL); - rspamd_map_helper_insert_radix (*target, str, ""); + rspamd_map_helper_insert_radix_resolve (*target, str, ""); } break; case UCL_OBJECT: @@ -1822,7 +1822,7 @@ rspamd_config_radix_from_ucl (struct rspamd_config *cfg, *target = rspamd_map_helper_new_radix (NULL); } - rspamd_map_helper_insert_radix (*target, str, ""); + rspamd_map_helper_insert_radix_resolve (*target, str, ""); } ucl_object_iterate_free (it); -- cgit v1.2.3