X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=attach.c;h=5f588b707109065661736b7d6425c2290247a765;hb=738fbd2175e916fb1d5b60af57968dbdc5bf56bd;hp=c59030996b4747e5f613e17aaa80bdf23725e15c;hpb=2a06362a155582cd59ae2ef6f0df71694a7eede3;p=apps%2Fmadmutt.git diff --git a/attach.c b/attach.c index c590309..5f588b7 100644 --- 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)