Fixed mhmail. (It wanted to read the profile to create a temp file.)
authormarkus schnalke <meillo@marmaro.de>
Wed, 8 Feb 2012 13:58:01 +0000 (14:58 +0100)
committermarkus schnalke <meillo@marmaro.de>
Wed, 8 Feb 2012 13:58:01 +0000 (14:58 +0100)
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);