projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
parse.c
diff --git
a/parse.c
b/parse.c
index
bf7d76d
..
036a183
100644
(file)
--- a/
parse.c
+++ b/
parse.c
@@
-1551,6
+1551,8
@@
int count_body_parts (BODY *body, int flags) {
}
int mutt_count_body_parts (HEADER *hdr, int flags) {
}
int mutt_count_body_parts (HEADER *hdr, int flags) {
+ if (!option (OPTCOUNTATTACH))
+ return (0);
if (hdr->attach_valid && !(flags & M_PARTS_RECOUNT))
return hdr->attach_total;
if (hdr->attach_valid && !(flags & M_PARTS_RECOUNT))
return hdr->attach_total;