From: Phil Pennock Date: Thu, 5 May 2011 01:41:58 +0000 (-0400) Subject: Fix compile of exim_monitor X-Git-Tag: exim-4_76_RC1~1 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/ad2f0c19ffa5056fee65fdc36554e35ed1b86db8?ds=inline Fix compile of exim_monitor The "Compiler masochism compliance" patch changed the log_write() prototype to use "const char *" instead of "char *"; I don't have X11 on my main box, so neglected to handle exim_monitor's duplicate definition of log_write(). Fixes bug 1107 --- diff --git a/src/exim_monitor/em_main.c b/src/exim_monitor/em_main.c index 187dba3b0..4692fa744 100644 --- a/src/exim_monitor/em_main.c +++ b/src/exim_monitor/em_main.c @@ -168,7 +168,7 @@ Returns: nothing */ void -log_write(unsigned int selector, int flags, char *format, ...) +log_write(unsigned int selector, int flags, const char *format, ...) { va_list ap; va_start(ap, format);