push username, homedir and tmpdir in lua too.
[apps/madmutt.git] / lib-crypt / pgpmicalg.c
index ae16b11..0edbfea 100644 (file)
@@ -137,7 +137,7 @@ static short pgp_find_hash (const char *fname)
 
   short rv = -1;
 
-  out = m_tempfile (tempfile, sizeof(tempfile), NONULL(Tempdir), NULL);
+  out = m_tempfile (tempfile, sizeof(tempfile), NONULL(MCore.tmpdir), NULL);
   if (!out) {
     mutt_perror (_("Can't create temporary file"));
     goto bye;