From aad3ecf9588d14d55d9226316d4647f8e462d118 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 19 May 2015 11:23:21 +0100 Subject: [PATCH] Fix fuzzy mime strings with only type. Issue: #283 Reported by: @moisseev --- src/plugins/fuzzy_check.c | 1 + 1 file changed, 1 insertion(+) 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); } } -- 2.39.5