aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_xml.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-11-15 14:55:40 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-11-15 14:55:40 +0000
commit418b59eb3b01a3729146e3d48c96a5687baed2c9 (patch)
tree403ce8a01e5be9befc25e2b5491478d631569004 /src/cfg_xml.c
parentc2433f1728704e794e729ac1e3518596218d368e (diff)
downloadrspamd-418b59eb3b01a3729146e3d48c96a5687baed2c9.tar.gz
rspamd-418b59eb3b01a3729146e3d48c96a5687baed2c9.zip
Fix options in statfiles.
Diffstat (limited to 'src/cfg_xml.c')
-rw-r--r--src/cfg_xml.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cfg_xml.c b/src/cfg_xml.c
index c183e6209..ffe9b8027 100644
--- a/src/cfg_xml.c
+++ b/src/cfg_xml.c
@@ -910,7 +910,8 @@ rspamd_xml_text (GMarkupParseContext *context, const gchar *text, gsize text_len
top = ud->parent_pointer[ud->nested - 1];
ud->parent_pointer[ud->nested - 1] =
- ucl_object_insert_key (top, ucl_object_fromstring_common (text, text_len, UCL_STRING_PARSE),
+ ucl_object_insert_key (top, ucl_object_fromstring_common (text, text_len,
+ UCL_STRING_PARSE|UCL_STRING_PARSE_BYTES),
ud->section_name[ud->nested], 0, true);
}