projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
various code simplifications.
[apps/madmutt.git]
/
handler.c
diff --git
a/handler.c
b/handler.c
index
51f4c32
..
c72ddfc
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;