From dc6e3e9d5d0913db08bc0ffa4bb3fa69949db685 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Tue, 13 Nov 2007 16:02:02 +0000 Subject: [PATCH] Reverting commit made in revision 89205 since it is unnecessary. Thanks to Kevin for pointing this out git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@89241 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_mixmonitor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/app_mixmonitor.c b/apps/app_mixmonitor.c index 7d32793987..ec9c2e2a32 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);