push username, homedir and tmpdir in lua too.
[apps/madmutt.git] / main.c
diff --git a/main.c b/main.c
index da1b66d..e5dc968 100644 (file)
--- a/main.c
+++ b/main.c
@@ -724,7 +724,7 @@ int main (int argc, char **argv)
 
       /* is the following if still needed? */
 
-      fout = m_tempfile(buf, sizeof(buf), NONULL(Tempdir), NULL);
+      fout = m_tempfile(buf, sizeof(buf), NONULL(MCore.tmpdir), NULL);
       tempfile = m_strdup(buf);
 
       if (tempfile) {