aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_mixmonitor.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-29 23:43:40 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-29 23:43:40 +0000
commit5967224c5f02b4bd10ce5c917273878ff62941b5 (patch)
tree554feac62e9547d0d5802c0141f3e4eb796d521c /apps/app_mixmonitor.c
parent63a3b93a7306835892b5307d2d46e1a835d85b2c (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@52717 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_mixmonitor.c')
-rw-r--r--apps/app_mixmonitor.c2
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);
}