From: Heiko Schlittermann (HS12-RIPE) Date: Wed, 19 Aug 2015 13:22:41 +0000 (+0200) Subject: Fix post-transport-crash. X-Git-Tag: exim-4_87_RC1~115 X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/6b51df8340eacc95e3def9a4376506610e91996c?ds=inline Fix post-transport-crash. The crash probably was introduced in a39bd74d3e94 and needs 'split_spool_directory=yes' to expose. Thanks to Wolfgang Breyha, who found the same fix. --- diff --git a/src/src/transport.c b/src/src/transport.c index fa6f869cd..a6ad3ed34 100644 --- a/src/src/transport.c +++ b/src/src/transport.c @@ -1752,7 +1752,7 @@ while (1) { if (split_spool_directory) sprintf(CS spool_file, "%s%c/%s-D", - spool_dir, new_message_id[5], msgq[i].message_id); + spool_dir, msgq[i].message_id[5], msgq[i].message_id); else sprintf(CS spool_file, "%s%s-D", spool_dir, msgq[i].message_id);