summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Pennock <pdp@exim.org>2011-05-04 21:41:58 -0400
committerPhil Pennock <pdp@exim.org>2011-05-04 21:41:58 -0400
commitad2f0c19ffa5056fee65fdc36554e35ed1b86db8 (patch)
tree09b6f734d8f567bd4e6815d27d086507a444b2ad
parent337e3505b0e6cd4309db6bf6062b33fa56e06cf8 (diff)
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
-rw-r--r--src/exim_monitor/em_main.c2
1 files changed, 1 insertions, 1 deletions
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);