projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix regressions
[apps/madmutt.git]
/
imap
/
mx_imap.c
diff --git
a/imap/mx_imap.c
b/imap/mx_imap.c
index
6ad4b32
..
53056fc
100644
(file)
--- a/
imap/mx_imap.c
+++ b/
imap/mx_imap.c
@@
-9,6
+9,8
@@
#include <sys/stat.h>
+#include <lib-lib/mem.h>
+
#include "mutt.h"
#include "imap_private.h"
@@
-61,7
+63,7
@@
static int imap_commit_message (MESSAGE* msg, CONTEXT* ctx) {
}
mx_t* imap_reg_mx (void) {
- mx_t* fmt =
mem_calloc (1, sizeof (mx_t)
);
+ mx_t* fmt =
p_new(mx_t, 1
);
/* make up mx_t record... */
fmt->type = M_IMAP;