diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-04-08 19:42:56 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-04-08 19:42:56 +0400 |
commit | 613b5f34598f60ff964c9f8962b296f3f7b9f984 (patch) | |
tree | 49c12bbfd72af35e194b4bab4c839c1d70070ec8 /src/plugins/regexp.c | |
parent | 4abf1404c60d6a4b530c40f4ffdf70b43f99ea1c (diff) | |
download | rspamd-613b5f34598f60ff964c9f8962b296f3f7b9f984.tar.gz rspamd-613b5f34598f60ff964c9f8962b296f3f7b9f984.zip |
* Insert fuzzy check symbol correctly as it depends not only on factor but also to normalizer
Diffstat (limited to 'src/plugins/regexp.c')
-rw-r--r-- | src/plugins/regexp.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/plugins/regexp.c b/src/plugins/regexp.c index bb51af872..d129664fd 100644 --- a/src/plugins/regexp.c +++ b/src/plugins/regexp.c @@ -202,7 +202,16 @@ regexp_module_config (struct config_file *cfg) res = FALSE; } } - + else { + msg_err ("unknown variable type for %s", cur->param); + res = FALSE; + } + + if ( !res) { + /* Stop on errors */ + break; + } + /* Search in factors hash table */ w = g_hash_table_lookup (cfg->factors, cur->param); if (w == NULL) { |