diff options
author | Joshua Colp <jcolp@digium.com> | 2007-01-29 23:45:39 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2007-01-29 23:45:39 +0000 |
commit | 095b911df146069afb9719c075a7b3585976a5e4 (patch) | |
tree | 17aff7939935b8a69d12c93e1943e917a4e65a0b /apps/app_mixmonitor.c | |
parent | f351f4278a7810233e6661455385c2816c92cec8 (diff) |
Merged revisions 52717 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r52717 | file | 2007-01-29 18:43:40 -0500 (Mon, 29 Jan 2007) | 10 lines
Merged revisions 52716 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r52716 | file | 2007-01-29 18:39:39 -0500 (Mon, 29 Jan 2007) | 2 lines
Now that filename is part of the structure and since it comes before postprocess... we have to add it to our postprocess line. (reported on asterisk-dev by Boris Bakchiev)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_mixmonitor.c')
-rw-r--r-- | apps/app_mixmonitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_mixmonitor.c b/apps/app_mixmonitor.c index 8023091a1..40faee216 100644 --- a/apps/app_mixmonitor.c +++ b/apps/app_mixmonitor.c @@ -263,7 +263,7 @@ static void launch_monitor_thread(struct ast_channel *chan, const char *filename mixmonitor->name = (char *) mixmonitor + sizeof(*mixmonitor); strcpy(mixmonitor->name, chan->name); if (!ast_strlen_zero(postprocess2)) { - mixmonitor->post_process = mixmonitor->name + strlen(mixmonitor->name) + 1; + mixmonitor->post_process = mixmonitor->name + strlen(mixmonitor->name) + strlen(filename) + 2; strcpy(mixmonitor->post_process, postprocess2); } |