diff options
author | Mark Spencer <markster@digium.com> | 2005-05-14 23:28:47 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-05-14 23:28:47 +0000 |
commit | 251e6bc2ed65440af3ba10bf5561fa7068639414 (patch) | |
tree | 40348b3f4714085fbcc7f1b0e342fd89057d7b06 /logger.c | |
parent | 81643ec9c3977e64b153c0227aac4fb98cabec7a (diff) |
Fix logger check (bug #4260)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'logger.c')
-rwxr-xr-x | logger.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |