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);

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to