]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
it would be nice if this message printing code had actually been tested before it...
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 14 Oct 2008 07:54:41 +0000 (07:54 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 14 Oct 2008 07:54:41 +0000 (07:54 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@148611 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/translate.c

index deb977954b22c724d6a5f6733eb00f5825115de3..f68178ecda61ffbce0530459168a96e8bf02b45d 100644 (file)
@@ -509,7 +509,8 @@ static void rebuild_matrix(int samples)
                                        tr_matrix[x][z].cost = newcost;
                                        tr_matrix[x][z].multistep = 1;
                                        if (option_debug)
-                                               ast_log(LOG_DEBUG, "Discovered %d cost path from %s to %s, via %d\n", tr_matrix[x][z].cost, ast_getformatname(x), ast_getformatname(z), y);
+                                               ast_log(LOG_DEBUG, "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++;
                                }
                        }