diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-05-10 22:52:01 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-05-10 22:52:01 +0400 |
commit | bc953ee7602b6a4278fc5c13a83ad570444f5cc6 (patch) | |
tree | d5f2c84460ffb9b838baccd5a315bfad04832d0f /src/cfg_xml.c | |
parent | c29b6dc179123cdb7b47cb12b6c3bd7a2d053994 (diff) | |
download | rspamd-bc953ee7602b6a4278fc5c13a83ad570444f5cc6.tar.gz rspamd-bc953ee7602b6a4278fc5c13a83ad570444f5cc6.zip |
* Add Subject header that indicate how Subject must be rewritten in case of 'rewrite subject' action
Fix initialization order of json settings.
Diffstat (limited to 'src/cfg_xml.c')
-rw-r--r-- | src/cfg_xml.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cfg_xml.c b/src/cfg_xml.c index 7fda9e14f..00da907f4 100644 --- a/src/cfg_xml.c +++ b/src/cfg_xml.c @@ -397,6 +397,12 @@ static struct xml_parser_rule grammar[] = { NULL }, { + "subject", + xml_handle_string, + G_STRUCT_OFFSET (struct metric, subject), + NULL + }, + { "symbol", handle_metric_symbol, 0, |