X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/3634fc257bd0667daef14d72005cd87c735bbb24..5b4569757c6dc749c250f065705f65c938bffb2e:/src/exim_monitor/em_main.c diff --git a/src/exim_monitor/em_main.c b/src/exim_monitor/em_main.c index 22a721d52..a0b94b168 100644 --- a/src/exim_monitor/em_main.c +++ b/src/exim_monitor/em_main.c @@ -654,6 +654,8 @@ today.) */ if (log_file[0] != 0) { + /* Do *not* use "%s" here, we need the %D datestamp in the log_file to + be expanded! */ (void)string_format(log_file_open, sizeof(log_file_open), CS log_file); log_datestamping = string_datestamp_offset >= 0;