projects
/
apps
/
madmutt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
22116d7
)
post ? -post : 0
author
Pierre Habouzit
<madcoder@debian.org>
Wed, 29 Nov 2006 01:16:30 +0000
(
02:16
+0100)
committer
Pierre Habouzit
<madcoder@debian.org>
Wed, 29 Nov 2006 01:16:30 +0000
(
02:16
+0100)
that was a good one
sendlib.c
patch
|
blob
|
history
diff --git
a/sendlib.c
b/sendlib.c
index
6cd48b5
..
2f6c8d7
100644
(file)
--- a/
sendlib.c
+++ b/
sendlib.c
@@
-2153,8
+2153,7
@@
int mutt_write_fcc (const char *path, HEADER * hdr, const char *msgid,
/* post == 1 => postpone message. Set mode = -1 in mutt_write_rfc822_header()
* post == 0 => Normal mode. Set mode = 0 in mutt_write_rfc822_header()
* */
/* post == 1 => postpone message. Set mode = -1 in mutt_write_rfc822_header()
* post == 0 => Normal mode. Set mode = 0 in mutt_write_rfc822_header()
* */
- mutt_write_rfc822_header (msg->fp, hdr->env, hdr->content, post ? -post : 0,
- 0);
+ mutt_write_rfc822_header(msg->fp, hdr->env, hdr->content, -post, 0);
/* (postponment) if this was a reply of some sort, <msgid> contians the
* Message-ID: of message replied to. Save it using a special X-Mutt-
/* (postponment) if this was a reply of some sort, <msgid> contians the
* Message-ID: of message replied to. Save it using a special X-Mutt-
@@
-2172,8
+2171,6
@@
int mutt_write_fcc (const char *path, HEADER * hdr, const char *msgid,
fprintf (msg->fp, "X-Mutt-Fcc: %s\n", fcc);
fprintf (msg->fp, "Status: RO\n");
fprintf (msg->fp, "X-Mutt-Fcc: %s\n", fcc);
fprintf (msg->fp, "Status: RO\n");
-
-
/* (postponment) if the mail is to be signed or encrypted, save this info */
if (post && (hdr->security & APPLICATION_PGP)) {
fputs ("X-Mutt-PGP: ", msg->fp);
/* (postponment) if the mail is to be signed or encrypted, save this info */
if (post && (hdr->security & APPLICATION_PGP)) {
fputs ("X-Mutt-PGP: ", msg->fp);
@@
-2261,8
+2258,7
@@
int mutt_write_fcc (const char *path, HEADER * hdr, const char *msgid,
/* if there was an error, leave the temp version */
if (!r)
unlink (tempfile);
/* if there was an error, leave the temp version */
if (!r)
unlink (tempfile);
- }
- else {
+ } else {
fputc ('\n', msg->fp); /* finish off the header */
r = mutt_write_mime_body (hdr->content, msg->fp);
}
fputc ('\n', msg->fp); /* finish off the header */
r = mutt_write_mime_body (hdr->content, msg->fp);
}