X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/931e88d1c3e9d1bc4bad3a230e50c97180daad9d..c36ae8a76cf2ab8065fa996bb182e286880d63c0:/uip/mhfixmsg.c?ds=inline diff --git a/uip/mhfixmsg.c b/uip/mhfixmsg.c index b7025514..6195b316 100644 --- a/uip/mhfixmsg.c +++ b/uip/mhfixmsg.c @@ -152,7 +152,7 @@ main (int argc, char **argv) { fx.lf_line_endings = 0; fx.textcharset = NULL; - if (nmh_init(argv[0], 1)) { return 1; } + if (nmh_init(argv[0], 2)) { return 1; } done = freects_done; @@ -1160,6 +1160,10 @@ set_ce (CT ct, int encoding) { ct->c_cefile.ce_file to the name of the file containing the contents. */ + if (ct->c_ceclosefnx) { + (*ct->c_ceclosefnx) (ct); + } + /* Restore the cefile. */ ct->c_cefile = decoded_content_info;