aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_xml.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-06-01 17:51:45 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-06-01 17:51:45 +0400
commit8c89dee54e1be32e8191cc0e8cd6b680bafadae1 (patch)
treed68c3fa21ffa3c3cf0c90a9350c8cb1c38729cdb /src/cfg_xml.c
parent81ddc93c2ba49fbcad33e6e07f029d42255fe023 (diff)
downloadrspamd-8c89dee54e1be32e8191cc0e8cd6b680bafadae1.tar.gz
rspamd-8c89dee54e1be32e8191cc0e8cd6b680bafadae1.zip
* Fix reading views section
Diffstat (limited to 'src/cfg_xml.c')
-rw-r--r--src/cfg_xml.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cfg_xml.c b/src/cfg_xml.c
index f8b3f55ba..d4e977a3b 100644
--- a/src/cfg_xml.c
+++ b/src/cfg_xml.c
@@ -1275,6 +1275,7 @@ rspamd_xml_start_element (GMarkupParseContext *context, const gchar *element_nam
case XML_READ_STATFILE:
case XML_READ_WORKER:
case XML_READ_LOGGING:
+ case XML_READ_VIEW:
g_strlcpy (ud->section_name, element_name, sizeof (ud->section_name));
/* Save attributes */
ud->cur_attrs = process_attrs (ud->cfg, attribute_names, attribute_values);