From dd90660cc1d49f9ff54c0d9333efa67e30fd4ddd Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 20 Sep 2004 16:36:35 +0000 Subject: Change "TMP" to "TMPDIR" --- common/smtppass.c | 2 +- doc/clamsmtpd.8 | 2 +- 2 files changed, 2 insertions(+), 2 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); } diff --git a/doc/clamsmtpd.8 b/doc/clamsmtpd.8 index 526f4ae..9501064 100644 --- a/doc/clamsmtpd.8 +++ b/doc/clamsmtpd.8 @@ -168,7 +168,7 @@ The email addresses of the email recipients. These are specified one per line, in standard address format. .It Ar SENDER The email address for the sender of the email. -.It Ar TMP +.It Ar TMPDIR The path to the temp directory in use. This is the same as the .Ar TempDirectory option. -- cgit v1.2.3