From: markus schnalke Date: Wed, 8 Feb 2012 13:58:01 +0000 (+0100) Subject: Fixed mhmail. (It wanted to read the profile to create a temp file.) X-Git-Tag: mmh-thesis-end~360 X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=9b4431bb9d1c74c2cd588afd79654a7bf5ce9064 Fixed mhmail. (It wanted to read the profile to create a temp file.) --- diff --git a/uip/mhmail.c b/uip/mhmail.c index a013ecb..f9e7fcd 100644 --- a/uip/mhmail.c +++ b/uip/mhmail.c @@ -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);