Fixed mhmail. (It wanted to read the profile to create a temp file.)
[mmh] / uip / mhmail.c
index a013ecb..f9e7fcd 100644 (file)
@@ -130,7 +130,7 @@ main(int argc, char **argv)
        if (tolist == NULL)
                adios(NULL, "usage: %s addrs ... [switches]", invo_name);
 
-       tfile = m_mktemp2(NULL, invo_name, NULL, &out);
+       tfile = m_mktemp2("/tmp/", invo_name, NULL, &out);
        if (tfile == NULL)
                adios("mhmail", "unable to create temporary file");
        chmod(tfile, 0600);