From: Vsevolod Stakhov Date: Tue, 19 May 2015 10:23:21 +0000 (+0100) Subject: Fix fuzzy mime strings with only type. X-Git-Tag: 0.9.2~13 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=aad3ecf9588d14d55d9226316d4647f8e462d118;p=rspamd.git Fix fuzzy mime strings with only type. Issue: #283 Reported by: @moisseev --- 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); } }