#include <lib-lib/file.h>
#include <lib-lib/macros.h>
+#include <lib-mime/mime.h>
+
#include "mutt.h"
#include "handler.h"
#include "recvattach.h"
#include "mutt_curses.h"
#include "keymap.h"
#include "rfc1524.h"
-#include "mime.h"
#include "pager.h"
#include "copy.h"
#include "mx.h"
if ((fpin = fopen (a->filename, "r")) && (fpout = safe_fopen (tempfile, "w"))) { /* __FOPEN_CHECKED__ */
mutt_copy_stream (fpin, fpout);
- str_replace (&a->filename, tempfile);
+ m_strreplace(&a->filename, tempfile);
a->unlink = 1;
if (a->stamp >= st.st_mtime)