patch-main_translate_c 463 B

1234567891011
  1. --- asterisk-1.4.27.1.orig/main/translate.c 2009-10-21 18:44:49.000000000 +0200
  2. +++ asterisk-1.4.27.1/main/translate.c 2009-12-03 20:53:36.000000000 +0100
  3. @@ -442,7 +442,7 @@ static void rebuild_matrix(int samples)
  4. if (option_debug)
  5. ast_log(LOG_DEBUG, "Resetting translation matrix\n");
  6. - bzero(tr_matrix, sizeof(tr_matrix));
  7. + memset(tr_matrix, 0, sizeof(tr_matrix));
  8. /* first, compute all direct costs */
  9. AST_LIST_TRAVERSE(&translators, t, list) {