Index: main/channel.c =================================================================== --- main/channel.c (revision 153040) +++ main/channel.c (working copy) @@ -363,8 +363,7 @@ return total; } traced = store->data; - (*buf)->used = 0; - (*buf)->str[0] = '\0'; + ast_str_reset(*buf); AST_LIST_TRAVERSE(&traced->trace, trace, entry) { if (ast_str_append(buf, 0, "[%d] => %s, %s, %d\n", total, trace->context, trace->exten, trace->priority) < 0) { ast_log(LOG_ERROR, "Data Buffer Size Exceeded!\n");