projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drop str_[n]cat.
[apps/madmutt.git]
/
imap
/
util.c
diff --git
a/imap/util.c
b/imap/util.c
index
63dd769
..
8e6832b
100644
(file)
--- a/
imap/util.c
+++ b/
imap/util.c
@@
-443,7
+443,7
@@
void imap_unmunge_mbox_name (char *s)
buf = m_strdup(s);
if (buf) {
imap_utf7_decode (&buf);
buf = m_strdup(s);
if (buf) {
imap_utf7_decode (&buf);
-
strncpy (s, buf, m_strlen(s)
);
+
m_strcpy(s, m_strlen(s) + 1, buf
);
}
p_delete(&buf);
}
p_delete(&buf);