aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-07-29 20:35:00 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-07-29 20:35:00 +0400
commit4c4773d96b1b2a157009590908fce032696281c5 (patch)
treec9709f5a21b4eafbfee04327884cb5c6d39006e4 /src/cfg_utils.c
parent513e304bc6255492eee5c78c97d222037087f429 (diff)
downloadrspamd-4c4773d96b1b2a157009590908fce032696281c5.tar.gz
rspamd-4c4773d96b1b2a157009590908fce032696281c5.zip
* Fix build under CentOS 5 with old glib 2.12
* Fix build of rspamd with CMAKE_BINARY_DIR differs from CMAKE_SOURCE_DIR Rework include style.
Diffstat (limited to 'src/cfg_utils.c')
-rw-r--r--src/cfg_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cfg_utils.c b/src/cfg_utils.c
index da1fe34a1..e01360379 100644
--- a/src/cfg_utils.c
+++ b/src/cfg_utils.c
@@ -958,7 +958,7 @@ read_xml_config (struct config_file *cfg, const gchar *filename)
ud.state = XML_READ_START;
ud.if_stack = g_queue_new ();
- ctx = g_markup_parse_context_new (&xml_parser, G_MARKUP_TREAT_CDATA_AS_TEXT | G_MARKUP_PREFIX_ERROR_POSITION, &ud, NULL);
+ ctx = g_markup_parse_context_new (&xml_parser, G_MARKUP_TREAT_CDATA_AS_TEXT, &ud, NULL);
res = g_markup_parse_context_parse (ctx, data, st.st_size, &err);
if (g_queue_get_length (ud.if_stack) != 0) {