]> granicus.if.org Git - neomutt/commitdiff
mutt_prepare_template() didn't work with PGP-encrypted messages due
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 23 Nov 1999 23:43:51 +0000 (23:43 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 23 Nov 1999 23:43:51 +0000 (23:43 +0000)
to an - errm - interesting typo.

postpone.c

index c9f7ff4d66cc0687ef106ce06de103bcb84ff023..86888b16b101fa4dc54b3529019dffe152f76186 100644 (file)
@@ -545,7 +545,7 @@ int mutt_prepare_template (FILE *fp, CONTEXT *ctx, HEADER *newhdr, HEADER *hdr,
 
 #ifdef _PGPPATH
   /* decrypt pgp/mime encoded messages */
-  if ((newhdr->pgp & PGPENCRYPT) && 
+  if ((hdr->pgp & PGPENCRYPT) && 
       mutt_is_multipart_encrypted (newhdr->content))
   {
     newhdr->pgp |= PGPENCRYPT;