[svn-commits] kpfleming: branch 1.4 r148611 - /branches/1.4/main/translate.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Oct 14 02:54:46 CDT 2008


Author: kpfleming
Date: Tue Oct 14 02:54:41 2008
New Revision: 148611

URL: http://svn.digium.com/view/asterisk?view=rev&rev=148611
Log:
it would be nice if this message printing code had actually been tested before it was committed...


Modified:
    branches/1.4/main/translate.c

Modified: branches/1.4/main/translate.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/translate.c?view=diff&rev=148611&r1=148610&r2=148611
==============================================================================
--- branches/1.4/main/translate.c (original)
+++ branches/1.4/main/translate.c Tue Oct 14 02:54:41 2008
@@ -509,7 +509,8 @@
 					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++;
 				}
 			}




More information about the svn-commits mailing list