diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-05 12:57:58 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-05 12:57:58 +0100 |
commit | 2d0e4061c78be4c7d1fc713a7e2f199f26134658 (patch) | |
tree | eb68a54f825e13e7e1652820a37a7fe8fefeedc6 /src/libutil/map.c | |
parent | 39fec823f124a82dd6a4bcd06a53a0ff062f4ac0 (diff) | |
download | rspamd-2d0e4061c78be4c7d1fc713a7e2f199f26134658.tar.gz rspamd-2d0e4061c78be4c7d1fc713a7e2f199f26134658.zip |
[Minor] Fix couple of warnings and disable -pedantic mode
Diffstat (limited to 'src/libutil/map.c')
-rw-r--r-- | src/libutil/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/map.c b/src/libutil/map.c index 354ac722e..0c8e6b925 100644 --- a/src/libutil/map.c +++ b/src/libutil/map.c @@ -1420,7 +1420,7 @@ rspamd_map_add_from_ucl (struct rspamd_config *cfg, g_ptr_array_add (map->backends, bk); if (!map->name) { - map->name = g_strdup (ucl_object_tostring (cur)); + map->name = g_strdup (ucl_object_tostring (elt)); } } } |