projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
small reorg.
[apps/madmutt.git]
/
copy.c
diff --git
a/copy.c
b/copy.c
index
55a3f4f
..
bf080fd
100644
(file)
--- 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) &&
/* 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)
continue;
if ((flags & CH_WEED_DELIVERED) &&
ascii_strncasecmp ("Delivered-To:", buf, 13) == 0)