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: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aad3ecf9588d14d55d9226316d4647f8e462d118;p=thirdparty%2Frspamd.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 f7a59522c2..2f7fb29045 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); } }