projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more muttng -> madmutt
[apps/madmutt.git]
/
send.c
diff --git
a/send.c
b/send.c
index
82fd71a
..
a582451
100644
(file)
--- a/
send.c
+++ b/
send.c
@@
-1072,7
+1072,7
@@
static void fix_end_of_file (const char *data)
int mutt_resend_message (FILE * fp, CONTEXT * ctx, HEADER * cur)
{
int mutt_resend_message (FILE * fp, CONTEXT * ctx, HEADER * cur)
{
- HEADER *msg =
mutt_new_header
();
+ HEADER *msg =
header_new
();
if (mutt_prepare_template (fp, ctx, msg, cur, 1) < 0)
return -1;
if (mutt_prepare_template (fp, ctx, msg, cur, 1) < 0)
return -1;
@@
-1135,7
+1135,7
@@
int ci_send_message (int flags, /* send mode */
*/
if (!msg) {
*/
if (!msg) {
- msg =
mutt_new_header
();
+ msg =
header_new
();
if (flags == SENDPOSTPONED) {
if ((flags =
if (flags == SENDPOSTPONED) {
if ((flags =
@@
-1165,7
+1165,7
@@
int ci_send_message (int flags, /* send mode */
}
if (!msg->env)
}
if (!msg->env)
- msg->env =
mutt_new_envelope
();
+ msg->env =
envelope_new
();
}
/* Parse and use an eventual list-post header */
}
/* Parse and use an eventual list-post header */
@@
-1811,7
+1811,7
@@
cleanup:
}
safe_fclose (&tempfp);
}
safe_fclose (&tempfp);
-
mutt_free_header
(&msg);
+
header_delete
(&msg);
return rv;
}
return rv;
}