From d690cbdcc1eae1eb60e83caf6800f768b733dadd Mon Sep 17 00:00:00 2001 From: Phil Pennock Date: Wed, 5 Oct 2011 19:36:34 -0400 Subject: [PATCH] Apply patch from Dmitry Isaikin fixing log.c format string. fixes bug 1152. --- doc/doc-txt/ChangeLog | 5 +++++ src/src/log.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog index b58444a55..9a518e9d2 100644 --- a/doc/doc-txt/ChangeLog +++ b/doc/doc-txt/ChangeLog @@ -123,6 +123,11 @@ PP/11 match_* no longer expand right-hand-side by default. PP/12 fix uninitialised greeting string from PP/03 (smtps client support). +PP/13 shell and compiler warnings fixes for RC1-RC3 changes. + +PP/14 fix log_write() format string regression from TF/03. + Bugzilla 1152. Patch from Dmitry Isaikin. + Exim version 4.76 ----------------- diff --git a/src/src/log.c b/src/src/log.c index fbab77caf..a3ec18d9f 100644 --- a/src/src/log.c +++ b/src/src/log.c @@ -713,7 +713,7 @@ DEBUG(D_any|D_v) } } - sprintf(CS ptr, "%s%s%s%s%s\n ", + sprintf(CS ptr, "%s%s%s%s\n ", ((flags & LOG_MAIN) != 0)? " MAIN" : "", ((flags & LOG_PANIC) != 0)? " PANIC" : "", ((flags & LOG_PANIC_DIE) == LOG_PANIC_DIE)? " DIE" : "", -- 2.30.2