diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-14 07:54:41 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-14 07:54:41 +0000 |
commit | 675c590fa3d409b47190abdefa1e9070140903ed (patch) | |
tree | bfc7c8ae524449cfcdd641005076ebcb2e0ca4e9 /main/translate.c | |
parent | 86095d637a6beb5c9cb965a06d1067e60e28ee52 (diff) |
it would be nice if this message printing code had actually been tested before it was committed...
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@148611 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/translate.c')
-rw-r--r-- | main/translate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/translate.c b/main/translate.c index deb977954..f68178ecd 100644 --- a/main/translate.c +++ b/main/translate.c @@ -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++; } } |