projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use good m_ functions, because it smell like a flower, version 2.
[apps/madmutt.git]
/
lib-mime
/
rfc822parse.c
diff --git
a/lib-mime/rfc822parse.c
b/lib-mime/rfc822parse.c
index
1bafc6b
..
269b43e
100644
(file)
--- a/
lib-mime/rfc822parse.c
+++ b/
lib-mime/rfc822parse.c
@@
-116,8
+116,8
@@
string_list_t *mutt_parse_references(char *s, int in_reply_to)
o = NULL;
} else {
new = p_new(char, n + m + 1);
-
strcpy(new
, o);
-
strcpy(new + n
, s);
+
m_strcpy(new, n + m + 1
, o);
+
m_strcpy(new + n, m + 1
, s);
}
}