aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dumpchan.c
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-05 23:00:15 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-05 23:00:15 +0000
commit8ceb053cff649938ab88166c64760dee8727403c (patch)
tree5c9c08fb9ce70cd29aa48d1b901718df97e63dac /apps/app_dumpchan.c
parenta53c56e616a589654dc7ebe47297426a1a1eac74 (diff)
Get rid of any remaining ast_verbose calls in the code in favor of
ast_verb (closes issue #11934) Reported by: mvanbaak Patches: 20080205_astverb-2.diff.txt uploaded by mvanbaak (license 7) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@102525 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dumpchan.c')
-rw-r--r--apps/app_dumpchan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_dumpchan.c b/apps/app_dumpchan.c
index 48fb6215d..649c57a9e 100644
--- a/apps/app_dumpchan.c
+++ b/apps/app_dumpchan.c
@@ -141,8 +141,8 @@ static int dumpchan_exec(struct ast_channel *chan, void *data)
pbx_builtin_serialize_variables(chan, &vars);
serialize_showchan(chan, info, sizeof(info));
- if (option_verbose >= level)
- ast_verbose("\nDumping Info For Channel: %s:\n%s\nInfo:\n%s\nVariables:\n%s%s\n", chan->name, line, info, vars->str, line);
+ if (level > 0)
+ ast_verb(level, "\nDumping Info For Channel: %s:\n%s\nInfo:\n%s\nVariables:\n%s%s\n", chan->name, line, info, vars->str, line);
return 0;
}