projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move debug.c
[apps/madmutt.git]
/
headers.c
diff --git
a/headers.c
b/headers.c
index
3ffd819
..
ecb5756
100644
(file)
--- a/
headers.c
+++ b/
headers.c
@@
-11,20
+11,19
@@
# include "config.h"
#endif
# include "config.h"
#endif
+#include <sys/stat.h>
+#include <string.h>
+#include <ctype.h>
+
#include <lib-lib/macros.h>
#include <lib-lib/ascii.h>
#include <lib-lib/file.h>
#include <lib-lib/macros.h>
#include <lib-lib/ascii.h>
#include <lib-lib/file.h>
+#include <lib-lib/debug.h>
#include "mutt.h"
#include <lib-crypt/crypt.h>
#include "mutt_idna.h"
#include "mutt.h"
#include <lib-crypt/crypt.h>
#include "mutt_idna.h"
-#include "lib/debug.h"
-
-#include <sys/stat.h>
-#include <string.h>
-#include <ctype.h>
-
void mutt_edit_headers (const char *editor,
const char *body,
HEADER * msg, char *fcc, size_t fcclen)
void mutt_edit_headers (const char *editor,
const char *body,
HEADER * msg, char *fcc, size_t fcclen)
@@
-103,7
+102,7
@@
void mutt_edit_headers (const char *editor,
n->references = msg->env->references;
msg->env->references = NULL;
n->references = msg->env->references;
msg->env->references = NULL;
-
mutt_free_envelope
(&msg->env);
+
envelope_delete
(&msg->env);
msg->env = n;
n = NULL;
msg->env = n;
n = NULL;