projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
copy.c
diff --git
a/copy.c
b/copy.c
index
567d0e4
..
b7ca57e
100644
(file)
--- a/
copy.c
+++ b/
copy.c
@@
-12,6
+12,8
@@
#endif
#include "mutt.h"
#endif
#include "mutt.h"
+#include "ascii.h"
+#include "handler.h"
#include "mx.h"
#include "copy.h"
#include "rfc2047.h"
#include "mx.h"
#include "copy.h"
#include "rfc2047.h"
@@
-502,6
+504,7
@@
_mutt_copy_message (FILE * fpout, FILE * fpin, HEADER * hdr, BODY * body,
char prefix[SHORT_STRING];
STATE s;
long new_offset = -1;
char prefix[SHORT_STRING];
STATE s;
long new_offset = -1;
+ int rc = 0;
if (flags & M_CM_PREFIX) {
if (option (OPTTEXTFLOWED))
if (flags & M_CM_PREFIX) {
if (option (OPTTEXTFLOWED))
@@
-608,7
+611,7
@@
_mutt_copy_message (FILE * fpout, FILE * fpin, HEADER * hdr, BODY * body,
if (WithCrypto && flags & M_CM_VERIFY)
s.flags |= M_VERIFY;
if (WithCrypto && flags & M_CM_VERIFY)
s.flags |= M_VERIFY;
- mutt_body_handler (body, &s);
+
rc =
mutt_body_handler (body, &s);
}
else if (WithCrypto
&& (flags & M_CM_DECODE_CRYPT) && (hdr->security & ENCRYPT)) {
}
else if (WithCrypto
&& (flags & M_CM_DECODE_CRYPT) && (hdr->security & ENCRYPT)) {
@@
-667,7
+670,7
@@
_mutt_copy_message (FILE * fpout, FILE * fpin, HEADER * hdr, BODY * body,
mutt_free_body (&body->parts);
}
mutt_free_body (&body->parts);
}
- return
0
;
+ return
rc
;
}
int
}
int