aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dumpchan.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-12 05:46:39 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-12 05:46:39 +0000
commit4367e584de0983c7700b576a42ef77648b665cf6 (patch)
tree82ec307a0338e96f20c3a3a136774ef28b4dc0c2 /apps/app_dumpchan.c
parent97993e3cd9afad05564da745bc05dba3fbbfb776 (diff)
Revert several changes from revision 102525, as the changes were not
compatible, and, in fact, introduced regressions. (Closes issue #12190) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@107960 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 17948af9a..37e040e9b 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 (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);
+ 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);
return 0;
}