diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-11-24 21:53:43 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-11-24 21:53:43 +0000 |
commit | 489dff2b77175db8537b32dab8e637cdea2a02af (patch) | |
tree | a63b3d9b5252dd96eb9f42ef207d8a0cce8eca92 /src/map.c | |
parent | c3882406f1bdae1603aae312af22120cc5c261c0 (diff) | |
download | rspamd-489dff2b77175db8537b32dab8e637cdea2a02af.tar.gz rspamd-489dff2b77175db8537b32dab8e637cdea2a02af.zip |
Use ucl variables.
Diffstat (limited to 'src/map.c')
-rw-r--r-- | src/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |