wdmisc_plugin/wdmisc.cpp
changeset 265 9e61d0d70e9a
parent 0 d15304fcb7a7
     1.1 --- a/wdmisc_plugin/wdmisc.cpp	Tue Feb 12 20:34:27 2013 -0600
     1.2 +++ b/wdmisc_plugin/wdmisc.cpp	Tue Feb 12 21:06:32 2013 -0600
     1.3 @@ -115,7 +115,7 @@
     1.4  // on, which makes the code a bit less readable than doing just a "strstr"
     1.5  // on the log line. 
     1.6  
     1.7 -void wd_AlertMessage(ALERT_TYPE atype, char *szFmt, ...) {
     1.8 +void wd_AlertMessage(ALERT_TYPE atype, const char *szFmt, ...) {
     1.9  	va_list ap;
    1.10  	static char buf[MAX_LOGMSG_LEN];
    1.11  	char *cp, *ep;