projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove a mutt-ng thing that makes no sense at all.
[apps/madmutt.git]
/
send.c
diff --git
a/send.c
b/send.c
index
ed87f4b
..
e2666a2
100644
(file)
--- a/
send.c
+++ b/
send.c
@@
-27,10
+27,7
@@
#include <nntp/nntp.h>
#endif
#include <nntp/nntp.h>
#endif
-#ifdef MIXMASTER
#include "remailer.h"
#include "remailer.h"
-#endif
-
static void append_signature (FILE * f)
{
static void append_signature (FILE * f)
{
@@
-976,14
+973,8
@@
static int send_message (HEADER * msg)
if (!tempfp)
return -1;
if (!tempfp)
return -1;
-#ifdef MIXMASTER
mutt_write_rfc822_header (tempfp, msg->env, msg->content, 0,
msg->chain ? 1 : 0);
mutt_write_rfc822_header (tempfp, msg->env, msg->content, 0,
msg->chain ? 1 : 0);
-#endif
-#ifndef MIXMASTER
- mutt_write_rfc822_header (tempfp, msg->env, msg->content, 0, 0);
-#endif
-
fputc ('\n', tempfp); /* tie off the header. */
if ((mutt_write_mime_body (msg->content, tempfp) == -1)) {
fputc ('\n', tempfp); /* tie off the header. */
if ((mutt_write_mime_body (msg->content, tempfp) == -1)) {
@@
-998,10
+989,8
@@
static int send_message (HEADER * msg)
return (-1);
}
return (-1);
}
-#ifdef MIXMASTER
if (msg->chain)
return mix_send_message (msg->chain, tempfile);
if (msg->chain)
return mix_send_message (msg->chain, tempfile);
-#endif
i = mutt_invoke_mta (msg->env->from, msg->env->to, msg->env->cc,
msg->env->bcc, tempfile,
i = mutt_invoke_mta (msg->env->from, msg->env->to, msg->env->cc,
msg->env->bcc, tempfile,
@@
-1054,7
+1043,7
@@
int mutt_resend_message (FILE * fp, CONTEXT * ctx, HEADER * cur)
{
HEADER *msg = header_new();
{
HEADER *msg = header_new();
- if (mutt_prepare_template (fp, ctx, msg, cur,
1
) < 0)
+ if (mutt_prepare_template (fp, ctx, msg, cur,
option(OPTWEED)
) < 0)
return -1;
return ci_send_message (SENDRESEND, msg, NULL, ctx, cur);
return -1;
return ci_send_message (SENDRESEND, msg, NULL, ctx, cur);