projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@62 e385b8ad-14ed-0310-8656-cc95a2468c6d
[apps/madmutt.git]
/
copy.c
diff --git
a/copy.c
b/copy.c
index
2b76350
..
49e19d7
100644
(file)
--- a/
copy.c
+++ b/
copy.c
@@
-16,6
+16,10
@@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "mutt.h"
#include "mailbox.h"
#include "mx.h"
#include "mutt.h"
#include "mailbox.h"
#include "mx.h"
@@
-652,6
+656,8
@@
_mutt_copy_message (FILE *fpout, FILE *fpin, HEADER *hdr, BODY *body,
s.flags |= M_WEED;
if (flags & M_CM_CHARCONV)
s.flags |= M_CHARCONV;
s.flags |= M_WEED;
if (flags & M_CM_CHARCONV)
s.flags |= M_CHARCONV;
+ if (flags & M_CM_REPLYING)
+ s.flags |= M_REPLYING;
if (WithCrypto && flags & M_CM_VERIFY)
s.flags |= M_VERIFY;
if (WithCrypto && flags & M_CM_VERIFY)
s.flags |= M_VERIFY;
@@
-972,7
+978,7
@@
static int address_header_decode (char **h)
default: return 0;
}
default: return 0;
}
- if ((a = rfc822_parse_adrlist (a, s + l
+ 1
)) == NULL)
+ if ((a = rfc822_parse_adrlist (a, s + l)) == NULL)
return 0;
mutt_addrlist_to_local (a);
return 0;
mutt_addrlist_to_local (a);