X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=copy.c;h=f564054e5c028ad13fdd680c65b674ca5ce2a9ff;hp=2b763507e09b0bb7db1ba1cd3aa6513bc4089fac;hb=b2b5c2916e7850ad2f4d1a1b6c8aeb0f1ed49be6;hpb=420f3633557ed75a0de989eb065af6e09eed29ba diff --git a/copy.c b/copy.c index 2b76350..f564054 100644 --- a/copy.c +++ b/copy.c @@ -652,6 +652,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; + if (flags & M_CM_REPLYING) + s.flags |= M_REPLYING; if (WithCrypto && flags & M_CM_VERIFY) s.flags |= M_VERIFY; @@ -972,7 +974,7 @@ static int address_header_decode (char **h) 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);