Skip to content
Snippets Groups Projects
Commit 2165868b authored by Richard Mudgett's avatar Richard Mudgett
Browse files

translage.c: Fix regression when generating translation path strings.

Fix the AMI Status action read and write translation path strings from
growing for each channel in the status event list by reseting the ast
string given to ast_translate_path_to_str() to fill in the given
translation path.
........

Merged revisions 426079 from http://svn.asterisk.org/svn/asterisk/branches/13


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@426080 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent dad0334c
No related branches found
No related tags found
No related merge requests found
......@@ -845,6 +845,7 @@ const char *ast_translate_path_to_str(struct ast_trans_pvt *p, struct ast_str **
return "";
}
ast_str_reset(*str);
codec_append_name(&p->t->src_codec, str);
while (p) {
ast_str_append(str, 0, "->");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment