X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=copy.c;h=bf080fda572e3ec541450b7b59e1fccc11350abb;hp=55a3f4fc165f503cd6080fe2134d19cb41413076;hb=926c11d6cc2cf92ec20792edaef2608d3f3b198b;hpb=fbb30063894dbfb851ee04d89c964bc25ea48dcd;ds=sidebyside diff --git a/copy.c b/copy.c index 55a3f4f..bf080fd 100644 --- a/copy.c +++ b/copy.c @@ -163,8 +163,8 @@ mutt_copy_hdr (FILE* in, FILE* out, off_t off_start, off_t off_end, /* note: CH_FROM takes precedence over header weeding. */ if (!((flags & CH_FROM) && (flags & CH_FORCE_FROM) && this_is_from) && (flags & CH_WEED) && - mutt_matches_ignore (buf, Ignore) && - !mutt_matches_ignore (buf, UnIgnore)) + string_list_contains(Ignore, buf, "*") && + !string_list_contains(UnIgnore, buf, "*")) continue; if ((flags & CH_WEED_DELIVERED) && ascii_strncasecmp ("Delivered-To:", buf, 13) == 0)