projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
small detail in m_dirname.
[apps/madmutt.git]
/
handler.c
diff --git
a/handler.c
b/handler.c
index
51f4c32
..
2ecf577
100644
(file)
--- a/
handler.c
+++ b/
handler.c
@@
-483,7
+483,7
@@
static void enriched_flush (struct enriched_state *stte, int wrap)
stte->line_max = stte->line_used;
p_realloc(&stte->line, stte->line_max + 1);
}
stte->line_max = stte->line_used;
p_realloc(&stte->line, stte->line_max + 1);
}
- strcat (stte->line, stte->buffer); /* __STRCAT_CHECKED__ */
+ m_strcat(stte->line, stte->line_max + 1, stte->buffer);
stte->line_len += stte->word_len;
stte->word_len = 0;
stte->buff_used = 0;
stte->line_len += stte->word_len;
stte->word_len = 0;
stte->buff_used = 0;
@@
-1329,7
+1329,7
@@
int mutt_body_handler (BODY * b, STATE * s)
plaintext = 1;
}
else if (b->type == TYPEMESSAGE) {
plaintext = 1;
}
else if (b->type == TYPEMESSAGE) {
- if (mutt_is_message_type (b
->type, b->subtype
))
+ if (mutt_is_message_type (b))
handler = message_handler;
else if (!ascii_strcasecmp ("delivery-status", b->subtype))
plaintext = 1;
handler = message_handler;
else if (!ascii_strcasecmp ("delivery-status", b->subtype))
plaintext = 1;