if (decode && !decrypt && option (OPTWEED)) { *chflags |= CH_WEED; *cmflags |= M_CM_WEED;
if (option (OPTWEED)) { *chflags |= CH_WEED;	 *cmflags |= M_CM_WEED; } }
static void set_copy_flags (HEADER *hdr, int decode, int decrypt, int *cmflags, int *chflags){  *cmflags = 0;  *chflags = CH_UPDATE_LEN;    if (WithCrypto && !decode && decrypt && (hdr->security & ENCRYPT))  {    if ((WithCrypto & APPLICATION_PGP)        && mutt_is_multipart_encrypted(hdr->content))    {      *chflags = CH_NONEWLINE | CH_XMIT | CH_MIME;      *cmflags = M_CM_DECODE_PGP;    }    else if ((WithCrypto & APPLICATION_PGP)              && mutt_is_application_pgp (hdr->content) & ENCRYPT)      decode = 1;    else if ((WithCrypto & APPLICATION_SMIME)             && mutt_is_application_smime(hdr->content) & ENCRYPT)    {      *chflags = CH_NONEWLINE | CH_XMIT | CH_MIME;      *cmflags = M_CM_DECODE_SMIME;    }  }  if (decode)  {    *chflags = CH_XMIT | CH_MIME | CH_TXTPLAIN;    *cmflags = M_CM_DECODE | M_CM_CHARCONV;  }  /* respect $weed only if decode doesn't kick in   * for decrypt.   */  if (decode && !decrypt && option (OPTWEED))  {    *chflags |= CH_WEED;    *cmflags |= M_CM_WEED;  }}