mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Minor file.c cleanup for valgrind, log PRI event properly
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2189 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -6661,7 +6661,7 @@ static void *pri_dchannel(void *vpri)
|
||||
x = 0;
|
||||
res = ioctl(pri->fd, ZT_GETEVENT, &x);
|
||||
if (x)
|
||||
printf("PRI got event: %d\n", x);
|
||||
ast_log(LOG_NOTICE, "PRI got event: %d on span %d\n", x, pri->span);
|
||||
if (option_debug)
|
||||
ast_log(LOG_DEBUG, "Got event %s (%d) on D-channel for span %d\n", event2str(x), x, pri->span);
|
||||
}
|
||||
|
Reference in New Issue
Block a user