#include <lib-lib/lib-lib.h>
#include <lib-mime/mime.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
#include "handler.h"
-#include "mx.h"
#include "copy.h"
#include <lib-crypt/crypt.h>
#include <lib-ui/curses.h>
fseeko (fp, cur->offset, 0);
if (mutt_copy_bytes (fp, fpout, cur->length) == -1) {
- fclose (fp);
+ m_fclose(&fp);
body_list_wipe(&cur);
return (-1);
}
body_list_wipe(&cur);
- fclose (fp);
+ m_fclose(&fp);
}
else {
fseeko (fpin, body->offset, 0);