mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +00:00
Conversions to ast_debug()
(issue #9984, patches from eliel and dimas) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -423,8 +423,7 @@ static void rebuild_matrix(int samples)
|
||||
int y; /* intermediate format index */
|
||||
int z; /* destination format index */
|
||||
|
||||
if (option_debug)
|
||||
ast_log(LOG_DEBUG, "Resetting translation matrix\n");
|
||||
ast_debug(1, "Resetting translation matrix\n");
|
||||
|
||||
bzero(tr_matrix, sizeof(tr_matrix));
|
||||
|
||||
@@ -478,8 +477,7 @@ 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;
|
||||
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_debug(1, "Discovered %d cost path from %s to %s, via %d\n", tr_matrix[x][z].cost, ast_getformatname(x), ast_getformatname(z), y);
|
||||
changed++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user