diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-19 11:23:21 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-19 11:23:21 +0100 |
commit | aad3ecf9588d14d55d9226316d4647f8e462d118 (patch) | |
tree | 3fb2c58c9964ae90cc7c5a97c20c387c742ec826 | |
parent | 51edc2517af40c42381f983f2aa7175853c1208e (diff) | |
download | rspamd-aad3ecf9588d14d55d9226316d4647f8e462d118.tar.gz rspamd-aad3ecf9588d14d55d9226316d4647f8e462d118.zip |
Fix fuzzy mime strings with only type.
Issue: #283
Reported by: @moisseev
-rw-r--r-- | src/plugins/fuzzy_check.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index f7a59522c..2f7fb2904 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -215,6 +215,7 @@ parse_mime_types (const gchar *str) sizeof (struct fuzzy_mime_type)); type->type = g_pattern_spec_new (strvec[i]); type->subtype = NULL; + res = g_list_prepend (res, type); } } |