projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
code simplifications.
[apps/madmutt.git]
/
lib-mime
/
rfc822parse.c
diff --git
a/lib-mime/rfc822parse.c
b/lib-mime/rfc822parse.c
index
3e77c57
..
fa0beaa
100644
(file)
--- a/
lib-mime/rfc822parse.c
+++ b/
lib-mime/rfc822parse.c
@@
-1034,15
+1034,12
@@
mutt_read_rfc822_header(FILE *f, HEADER *hdr, short user_hdrs, short weed)
{
/* if spam tag already exists, figure out how to amend it */
if (e->spam && *buf) {
{
/* if spam tag already exists, figure out how to amend it */
if (e->spam && *buf) {
- if (SpamSep) {
- /* If SpamSep defined, append with separator */
- mutt_buffer_addstr(e->spam, SpamSep);
- mutt_buffer_addstr(e->spam, buf);
+ if (Mime.spam_separator) {
+ mutt_buffer_addstr(e->spam, Mime.spam_separator);
} else {
} else {
- /* else overwrite */
mutt_buffer_reset(e->spam);
mutt_buffer_reset(e->spam);
- mutt_buffer_addstr(e->spam, buf);
}
}
+ mutt_buffer_addstr(e->spam, buf);
}
if (!e->spam) {
}
if (!e->spam) {