From: Vsevolod Stakhov Date: Tue, 1 Jun 2010 13:51:45 +0000 (+0400) Subject: * Fix reading views section X-Git-Tag: 0.3.1~116 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c89dee54e1be32e8191cc0e8cd6b680bafadae1;p=thirdparty%2Frspamd.git * Fix reading views section --- diff --git a/src/cfg_xml.c b/src/cfg_xml.c index f8b3f55ba6..d4e977a3b2 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);