put old m_snsubst into file.c as m_file_fmt.
[apps/madmutt.git] / lib-mime / rfc1524.c
index 576f212..08090e0 100644 (file)
@@ -437,7 +437,7 @@ int rfc1524_expand_filename (char *nametemplate,
       m_strcpy(newfile, nflen, oldfile);
   }
   else if (!oldfile) {
-    m_snsubst(newfile, nflen, nametemplate, "mutt");
+    m_file_fmt(newfile, nflen, nametemplate, "mutt");
   } else {                        /* oldfile && nametemplate */