From 9b4431bb9d1c74c2cd588afd79654a7bf5ce9064 Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Wed, 8 Feb 2012 14:58:01 +0100 Subject: [PATCH] Fixed mhmail. (It wanted to read the profile to create a temp file.) --- uip/mhmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.7.10.4