]> diplodocus.org Git - nmh/commitdiff
Use *ct->c_ceclosefnx() instead of clsoe_encoding() in show_content_aux().
authorDavid Levine <levinedl@acm.org>
Wed, 9 Apr 2014 21:31:06 +0000 (16:31 -0500)
committerDavid Levine <levinedl@acm.org>
Wed, 9 Apr 2014 21:31:06 +0000 (16:31 -0500)
uip/mhshowsbr.c

index 68a07f7..3421f32 100644 (file)
@@ -358,7 +358,7 @@ show_content_aux (CT ct, int alternate, char *cp, char *cracked)
            some code rearrangement.  And to make this really ugly,
            only do it in mhshow, not mhfixmsg, mhn, or mhstore. */
         if (convert_content_charset (ct, &file) == OK) {
            some code rearrangement.  And to make this really ugly,
            only do it in mhshow, not mhfixmsg, mhn, or mhstore. */
         if (convert_content_charset (ct, &file) == OK) {
-            close_encoding (ct);
+            (*ct->c_ceclosefnx) (ct);
             if ((fd = (*ct->c_ceopenfnx) (ct, &file)) == NOTOK)
                 return NOTOK;
         } else {
             if ((fd = (*ct->c_ceopenfnx) (ct, &file)) == NOTOK)
                 return NOTOK;
         } else {