aboutsummaryrefslogtreecommitdiffstats
path: root/src/map.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-11-24 21:53:43 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-11-24 21:53:43 +0000
commit489dff2b77175db8537b32dab8e637cdea2a02af (patch)
treea63b3d9b5252dd96eb9f42ef207d8a0cce8eca92 /src/map.c
parentc3882406f1bdae1603aae312af22120cc5c261c0 (diff)
downloadrspamd-489dff2b77175db8537b32dab8e637cdea2a02af.tar.gz
rspamd-489dff2b77175db8537b32dab8e637cdea2a02af.zip
Use ucl variables.
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.c b/src/map.c
index 25541a7e6..2af883a7a 100644
--- a/src/map.c
+++ b/src/map.c
@@ -1048,7 +1048,7 @@ add_map (struct config_file *cfg, const gchar *map_line, const gchar *descriptio
new_map->locked = memory_pool_alloc0_shared (cfg->cfg_pool, sizeof (gint));
if (proto == MAP_PROTO_FILE) {
- new_map->uri = rspamd_expand_path (cfg->cfg_pool, def);
+ new_map->uri = memory_pool_strdup (cfg->cfg_pool, def);
def = new_map->uri;
}
else {