From d50dff03fdf56db4a24cf44e4e9eec70c69e81c3 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 15 Apr 2009 17:01:01 +0400 Subject: * For mime parts set flag 'raw' and if we cannot determine charset of part or cannot encode it to utf8 just use for such parts raw regexps --- src/cfg_file.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cfg_file.h') diff --git a/src/cfg_file.h b/src/cfg_file.h index b1cbd6125..c91b419ba 100644 --- a/src/cfg_file.h +++ b/src/cfg_file.h @@ -77,6 +77,7 @@ struct rspamd_regexp { enum rspamd_regexp_type type; /**< regexp type */ char *regexp_text; /**< regexp text representation */ GRegex *regexp; /**< glib regexp structure */ + GRegex *raw_regexp; /**< glib regexp structure for raw matching */ char *header; /**< header name for header regexps */ }; -- cgit v1.2.3