aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dumpchan.c
diff options
context:
space:
mode:
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;
}