diff options
Diffstat (limited to 'main/indications.c')
-rw-r--r-- | main/indications.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/indications.c b/main/indications.c index f3356d603..8854ad909 100644 --- a/main/indications.c +++ b/main/indications.c @@ -873,7 +873,7 @@ static char *handle_cli_indication_show(struct ast_cli_entry *e, int cmd, struct (j == tz->nrringcadence - 1) ? "" : ","); } ast_str_append(&buf, 0, "\n"); - ast_cli(a->fd, "%s", buf->str); + ast_cli(a->fd, "%s", ast_str_buffer(buf)); AST_LIST_TRAVERSE(&tz->tones, ts, entry) { ast_cli(a->fd, "%-7.7s %-15.15s %s\n", tz->country, ts->name, ts->data); |