projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
exit strfcpy, only use m_strcpy.
[apps/madmutt.git]
/
rfc2047.c
diff --git
a/rfc2047.c
b/rfc2047.c
index
3769fef
..
0b35cf7
100644
(file)
--- a/
rfc2047.c
+++ b/
rfc2047.c
@@
-619,7
+619,7
@@
static int rfc2047_decode_word (char *d, const char *s, size_t len)
if (charset)
mutt_convert_string (&d0, charset, Charset, M_ICONV_HOOK_FROM);
-
strfcpy (d, d0, len
);
+
m_strcpy(d, len, d0
);
p_delete(&charset);
p_delete(&d0);
return (0);