summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/smtppass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/smtppass.c b/common/smtppass.c
index 6a30ad8..72ca71c 100644
--- a/common/smtppass.c
+++ b/common/smtppass.c
@@ -1394,7 +1394,7 @@ void sp_setup_forked(spctx_t* ctx, int file)
if(file && ctx->cachename[0])
setenv("EMAIL", ctx->cachename, 1);
- setenv("TMP", g_state.directory, 1);
+ setenv("TMPDIR", g_state.directory, 1);
}