X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=mts%2Fsmtp%2Fsmtp.c;h=90b37a82572eacde30dee6fef39c3eb6e62a442a;hp=773696b8a3d68a4b4b70c589eb4841e2e25cbe45;hb=045b9601403a216c400642229f2b291f85f88f7d;hpb=17e31955aca3a425a3c6d6fc128f6648f9550369 diff --git a/mts/smtp/smtp.c b/mts/smtp/smtp.c index 773696b..90b37a8 100644 --- a/mts/smtp/smtp.c +++ b/mts/smtp/smtp.c @@ -248,15 +248,15 @@ rclient (char *server, char *protocol, char *service) *--dp = NULL; snprintf (sm_tmpfil, sizeof(sm_tmpfil), "%s/smtpXXXXXX", *ap); #ifdef HAVE_MKSTEMP - mkstemp (sm_tmpfil); + sd = mkstemp (sm_tmpfil); #else mktemp (sm_tmpfil); -#endif if ((sd = creat (sm_tmpfil, 0600)) != NOTOK) { sm_ispool = 1; break; } +#endif } free (cp);