[Asterisk-cvs] asterisk logger.c,1.67,1.68

markster at lists.digium.com markster at lists.digium.com
Sat May 14 19:23:16 CDT 2005


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv32229

Modified Files:
	logger.c 
Log Message:
Fix logger check (bug #4260)


Index: logger.c
===================================================================
RCS file: /usr/cvsroot/asterisk/logger.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- logger.c	8 May 2005 16:44:25 -0000	1.67
+++ logger.c	14 May 2005 23:28:47 -0000	1.68
@@ -705,7 +705,7 @@
 		chan = logchannels;
 		while(chan && !chan->disabled) {
 			/* Check syslog channels */
-			if (chan->type == LOG_SYSLOG && (chan->logmask & (1 << level))) {
+			if (chan->type == LOGTYPE_SYSLOG && (chan->logmask & (1 << level))) {
 				va_start(ap, fmt);
 				ast_log_vsyslog(level, file, line, function, fmt, ap);
 				va_end(ap);




More information about the svn-commits mailing list