move rfc2047.c into lib-mime, reindent it.
[apps/madmutt.git] / attach.c
index c590309..5f588b7 100644 (file)
--- a/attach.c
+++ b/attach.c
@@ -66,7 +66,7 @@ int mutt_get_tmp_attachment (BODY * a)
 
   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)