[exim-cvs] Fix compile of exim_monitor

Góra strony
Delete this message
Reply to this message
Autor: Exim Git Commits Mailing List
Data:  
Dla: exim-cvs
Temat: [exim-cvs] Fix compile of exim_monitor
Gitweb: http://git.exim.org/exim.git/commitdiff/ad2f0c19ffa5056fee65fdc36554e35ed1b86db8
Commit:     ad2f0c19ffa5056fee65fdc36554e35ed1b86db8
Parent:     337e3505b0e6cd4309db6bf6062b33fa56e06cf8
Author:     Phil Pennock <pdp@???>
AuthorDate: Wed May 4 21:41:58 2011 -0400
Committer:  Phil Pennock <pdp@???>
CommitDate: Wed May 4 21:41:58 2011 -0400


    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 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/src/exim_monitor/em_main.c b/src/exim_monitor/em_main.c
index 187dba3..4692fa7 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);