From 4cc69860bb4fad594c0a7f0d707f5ff83fbce41a Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Tue, 14 Oct 2008 08:08:40 +0000 Subject: [PATCH] Merged revisions 148612 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ................ r148612 | kpfleming | 2008-10-14 03:06:45 -0500 (Tue, 14 Oct 2008) | 9 lines Merged revisions 148611 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r148611 | kpfleming | 2008-10-14 02:54:41 -0500 (Tue, 14 Oct 2008) | 3 lines it would be nice if this message printing code had actually been tested before it was committed... ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148614 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/translate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/translate.c b/main/translate.c index dfd50fcc5f..226a9500c5 100644 --- a/main/translate.c +++ b/main/translate.c @@ -503,7 +503,8 @@ static void rebuild_matrix(int samples) tr_matrix[x][z].step = tr_matrix[x][y].step; tr_matrix[x][z].cost = newcost; tr_matrix[x][z].multistep = 1; - ast_debug(3, "Discovered %d cost path from %s to %s, via %d\n", tr_matrix[x][z].cost, ast_getformatname(x), ast_getformatname(z), y); + ast_debug(3, "Discovered %d cost path from %s to %s, via %s\n", tr_matrix[x][z].cost, + ast_getformatname(1 << x), ast_getformatname(1 << z), ast_getformatname(1 << y)); changed++; } }