diff options
author | Russell Bryant <russell@russellbryant.com> | 2007-06-14 19:39:12 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2007-06-14 19:39:12 +0000 |
commit | 055d82cbce5ad588f4d612c49f56cd76f4c8bab6 (patch) | |
tree | 4fd144260e58c9a66d331fc81b46473723452479 /apps/app_channelredirect.c | |
parent | 60b029aa8275ef7da70281b3791a2837ffba7930 (diff) |
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
Diffstat (limited to 'apps/app_channelredirect.c')
-rw-r--r-- | apps/app_channelredirect.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/app_channelredirect.c b/apps/app_channelredirect.c index 075f8bb3f..bba90b939 100644 --- a/apps/app_channelredirect.c +++ b/apps/app_channelredirect.c @@ -105,8 +105,7 @@ static int asyncgoto_exec(struct ast_channel *chan, void *data) goto chanquit; } - if (option_debug > 1) - ast_log(LOG_DEBUG, "Attempting async goto (%s) to %s|%s|%d\n", args.channel, S_OR(context, chan2->context), S_OR(exten, chan2->exten), prio); + ast_debug(2, "Attempting async goto (%s) to %s|%s|%d\n", args.channel, S_OR(context, chan2->context), S_OR(exten, chan2->exten), prio); if (ast_async_goto_if_exists(chan2, S_OR(context, chan2->context), S_OR(exten, chan2->exten), prio)) ast_log(LOG_WARNING, "%s failed for %s\n", app, args.channel); |