From ad2f0c19ffa5056fee65fdc36554e35ed1b86db8 Mon Sep 17 00:00:00 2001 From: Phil Pennock Date: Wed, 4 May 2011 21:41:58 -0400 Subject: 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 --- src/exim_monitor/em_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3