]> granicus.if.org Git - mutt/commitdiff
Fixing convert_to_7bit(). From Liviu Daia.
authorThomas Roessler <roessler@does-not-exist.org>
Mon, 7 Sep 1998 08:10:59 +0000 (08:10 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Mon, 7 Sep 1998 08:10:59 +0000 (08:10 +0000)
pgp.c

diff --git a/pgp.c b/pgp.c
index c77a0859dd21c99f015c49895505e201eacb6977..8e1cab6e0d5374f6826c04b535fc53be8cfd7082 100644 (file)
--- a/pgp.c
+++ b/pgp.c
@@ -955,8 +955,11 @@ static void convert_to_7bit (BODY *a)
     if (a->type == TYPEMULTIPART)
     {
       if (a->encoding != ENC7BIT)
+      {
         a->encoding = ENC7BIT;
-      if (option (OPTPGPSTRICTENC))
+       convert_to_7bit(a->parts);
+      }
+      else if (option (OPTPGPSTRICTENC))
        convert_to_7bit (a->parts);
     } 
     else if (a->type == TYPEMESSAGE