aboutsummaryrefslogtreecommitdiffstats
path: root/logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'logger.c')
-rwxr-xr-xlogger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/logger.c b/logger.c
index df64a06c0..49444df9e 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);