[svn-commits] rmudgett: trunk r426080 - in /trunk: ./ main/translate.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Oct 21 13:04:47 CDT 2014


Author: rmudgett
Date: Tue Oct 21 13:04:43 2014
New Revision: 426080

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=426080
Log:
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

Modified:
    trunk/   (props changed)
    trunk/main/translate.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-13-merged' - no diff available.

Modified: trunk/main/translate.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/translate.c?view=diff&rev=426080&r1=426079&r2=426080
==============================================================================
--- trunk/main/translate.c (original)
+++ trunk/main/translate.c Tue Oct 21 13:04:43 2014
@@ -845,6 +845,7 @@
 		return "";
 	}
 
+	ast_str_reset(*str);
 	codec_append_name(&p->t->src_codec, str);
 	while (p) {
 		ast_str_append(str, 0, "->");




More information about the svn-commits mailing list