mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 23:38:23 +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:
@@ -179,8 +179,7 @@ static int conf_run(struct ast_channel *chan, int confno, int confflags)
|
||||
if (ztc.confmode) {
|
||||
/* Whoa, already in a conference... Retry... */
|
||||
if (!retryzap) {
|
||||
if (option_debug)
|
||||
ast_log(LOG_DEBUG, "Zap channel is in a conference already, retrying with pseudo\n");
|
||||
ast_debug(1, "Zap channel is in a conference already, retrying with pseudo\n");
|
||||
retryzap = 1;
|
||||
goto zapretry;
|
||||
}
|
||||
@@ -196,8 +195,7 @@ static int conf_run(struct ast_channel *chan, int confno, int confflags)
|
||||
close(fd);
|
||||
goto outrun;
|
||||
}
|
||||
if (option_debug)
|
||||
ast_log(LOG_DEBUG, "Placed channel %s in ZAP channel %d monitor\n", chan->name, confno);
|
||||
ast_debug(1, "Placed channel %s in ZAP channel %d monitor\n", chan->name, confno);
|
||||
|
||||
for(;;) {
|
||||
outfd = -1;
|
||||
@@ -209,8 +207,7 @@ static int conf_run(struct ast_channel *chan, int confno, int confflags)
|
||||
/* Kill old pseudo */
|
||||
close(fd);
|
||||
}
|
||||
if (option_debug)
|
||||
ast_log(LOG_DEBUG, "Ooh, something swapped out under us, starting over\n");
|
||||
ast_debug(1, "Ooh, something swapped out under us, starting over\n");
|
||||
retryzap = 0;
|
||||
goto zapretry;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user