From: Mark Spencer Date: Sat, 14 May 2005 23:28:47 +0000 (+0000) Subject: Fix logger check (bug #4260) X-Git-Tag: 1.2.0-beta1~683 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=251e6bc2ed65440af3ba10bf5561fa7068639414;p=thirdparty%2Fasterisk.git Fix logger check (bug #4260) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5650 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/logger.c b/logger.c index df64a06c02..49444df9e0 100755 --- a/logger.c +++ b/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);