mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Fix logger check (bug #4260)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
logger.c
2
logger.c
@@ -705,7 +705,7 @@ void ast_log(int level, const char *file, int line, const char *function, const
|
||||
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);
|
||||
|
Reference in New Issue
Block a user