diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-13 16:02:02 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-13 16:02:02 +0000 |
commit | c1f7d4aa3921da67db85e5911ae94204bd36dd10 (patch) | |
tree | 082e432f785194dc0118a6e7bdaa467d48947f6b /apps/app_mixmonitor.c | |
parent | 10e9706784f303bf6b9a0ae68dd74d7679492479 (diff) |
Reverting commit made in revision 89205 since it is unnecessary.
Thanks to Kevin for pointing this out
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@89241 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_mixmonitor.c')
-rw-r--r-- | apps/app_mixmonitor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_mixmonitor.c b/apps/app_mixmonitor.c index 7d3279398..ec9c2e2a3 100644 --- a/apps/app_mixmonitor.c +++ b/apps/app_mixmonitor.c @@ -332,7 +332,7 @@ static int mixmonitor_exec(struct ast_channel *chan, void *data) return -1; } - if (args.argc > 1 && args.options) { + if (args.options) { char *opts[OPT_ARG_ARRAY_SIZE] = { NULL, }; ast_app_parse_options(mixmonitor_opts, &flags, opts, args.options); @@ -378,7 +378,7 @@ static int mixmonitor_exec(struct ast_channel *chan, void *data) } pbx_builtin_setvar_helper(chan, "MIXMONITOR_FILENAME", args.filename); - launch_monitor_thread(chan, args.filename, flags.flags, readvol, writevol, args.argc > 2 ? args.post_process : ""); + launch_monitor_thread(chan, args.filename, flags.flags, readvol, writevol, args.post_process); ast_module_user_remove(u); |