From: Mark Michelson Date: Thu, 26 Jun 2008 23:06:18 +0000 (+0000) Subject: Fix a really stupid mistake X-Git-Tag: 1.6.2.0-beta1~1889 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=edbe6b7a25beb0cfbfa9916d2c899c86908d67c9;p=thirdparty%2Fasterisk.git Fix a really stupid mistake git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125591 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- 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);