diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/src/spool_out.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/src/spool_out.c b/src/src/spool_out.c index 3970206cb..a4a734a1a 100644 --- a/src/src/spool_out.c +++ b/src/src/spool_out.c @@ -134,8 +134,7 @@ struct stat statbuf; uschar * tname; uschar * fname; -tname = spool_fname(US"input", message_subdir, - string_sprintf("hdr.%d", (int)getpid()), US""); +tname = spool_fname(US"input", message_subdir, US"hdr.", message_id); if ((fd = spool_open_temp(tname)) < 0) return spool_write_error(where, errmsg, US"open", NULL, NULL); |