From edbe6b7a25beb0cfbfa9916d2c899c86908d67c9 Mon Sep 17 00:00:00 2001
From: Mark Michelson <mmichelson@digium.com>
Date: Thu, 26 Jun 2008 23:06:18 +0000
Subject: [PATCH] Fix a really stupid mistake

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125591 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 ea89c060a4..5bdf72fb93 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -5485,7 +5485,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);
-- 
GitLab