mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
Do a massive conversion for using the ast_verb() macro
(closes issue #10277, patches by mvanbaak) Basically, this changes ... if (option_verbose > 2) ast_verbose(VERBOSE_PREFIX_3, "Something\n"); to ... ast_verb(3, "Something\n"); git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -229,8 +229,7 @@ static int _while_exec(struct ast_channel *chan, void *data, int end)
|
||||
} else {
|
||||
int pri = find_matching_endwhile(chan);
|
||||
if (pri > 0) {
|
||||
if (option_verbose > 2)
|
||||
ast_verbose(VERBOSE_PREFIX_3 "Jumping to priority %d\n", pri);
|
||||
ast_verb(3, "Jumping to priority %d\n", pri);
|
||||
chan->priority = pri;
|
||||
} else {
|
||||
ast_log(LOG_WARNING, "Couldn't find matching EndWhile? (While at %s@%s priority %d)\n", chan->context, chan->exten, chan->priority);
|
||||
|
||||
Reference in New Issue
Block a user