From: David Levine Date: Wed, 5 Oct 2016 20:04:11 +0000 (-0400) Subject: Call c_ceclosefnx in mhfixmsg set_ce(). It doesn't seem to help X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/9fc84ef71655096d563cf9190ce3e127f638c6d9?hp=e87f37c27828723317a71291e31b34f39ec09098 Call c_ceclosefnx in mhfixmsg set_ce(). It doesn't seem to help reduce file descriptor leaks, but can't hurt. --- diff --git a/uip/mhfixmsg.c b/uip/mhfixmsg.c index b7025514..61b3b8b3 100644 --- a/uip/mhfixmsg.c +++ b/uip/mhfixmsg.c @@ -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;