mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
Add a massive set of changes for converting to use the ast_debug() macro.
(issue #9957, patches from mvanbaak, caio1982, critch, and dimas) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -170,15 +170,13 @@ static int ices_exec(struct ast_channel *chan, void *data)
|
||||
/* Wait for audio, and stream */
|
||||
ms = ast_waitfor(chan, -1);
|
||||
if (ms < 0) {
|
||||
if (option_debug)
|
||||
ast_log(LOG_DEBUG, "Hangup detected\n");
|
||||
ast_debug(1, "Hangup detected\n");
|
||||
res = -1;
|
||||
break;
|
||||
}
|
||||
f = ast_read(chan);
|
||||
if (!f) {
|
||||
if (option_debug)
|
||||
ast_log(LOG_DEBUG, "Null frame == hangup() detected\n");
|
||||
ast_debug(1, "Null frame == hangup() detected\n");
|
||||
res = -1;
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user