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
992423e
..
8e6832b
100644
(file)
--- a/
imap/util.c
+++ b/
imap/util.c
@@
-14,10
+14,10
@@
#include "config.h"
#include <lib-lib/mem.h>
#include "config.h"
#include <lib-lib/mem.h>
+#include <lib-lib/ascii.h>
#include "mutt.h"
#include "mx.h" /* for M_IMAP */
#include "mutt.h"
#include "mx.h" /* for M_IMAP */
-#include "ascii.h"
#include "url.h"
#include "imap_private.h"
#include "mutt_ssl.h"
#include "url.h"
#include "imap_private.h"
#include "mutt_ssl.h"
@@
-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);