]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
* Fix reading views section
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Tue, 1 Jun 2010 13:51:45 +0000 (17:51 +0400)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Tue, 1 Jun 2010 13:51:45 +0000 (17:51 +0400)
src/cfg_xml.c

index f8b3f55ba6b371044020b9ab0828c788d1c75051..d4e977a3b2b7bf54740ae4785c34681ba09bda57 100644 (file)
@@ -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);