mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 14:27:14 +00:00
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/branches/1.4@52717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -263,7 +263,7 @@ static void launch_monitor_thread(struct ast_channel *chan, const char *filename
|
|||||||
mixmonitor->name = (char *) mixmonitor + sizeof(*mixmonitor);
|
mixmonitor->name = (char *) mixmonitor + sizeof(*mixmonitor);
|
||||||
strcpy(mixmonitor->name, chan->name);
|
strcpy(mixmonitor->name, chan->name);
|
||||||
if (!ast_strlen_zero(postprocess2)) {
|
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);
|
strcpy(mixmonitor->post_process, postprocess2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user