From 74e07ac0aaa3a6ad8f1827c674052a837f81fac7 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Thu, 26 Jun 2008 23:06:47 +0000 Subject: [PATCH] Merged revisions 125591 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r125591 | mmichelson | 2008-06-26 18:06:18 -0500 (Thu, 26 Jun 2008) | 3 lines Fix a really stupid mistake ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@125592 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_queue.c b/apps/app_queue.c index d4294ebecf..535b584d3d 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -5410,7 +5410,7 @@ static char *__queues_show(struct mansession *s, int fd, int argc, char **argv) while ((mem = ao2_iterator_next(&mem_iter))) { ast_str_set(&out, 0, " %s", mem->membername); if (strcasecmp(mem->membername, mem->interface)) { - ast_build_string(&max, &max_left, " (%s)", mem->interface); + ast_str_append(&out, 0, " (%s)", mem->interface); } if (mem->penalty) ast_str_append(&out, 0, " with penalty %d", mem->penalty);