Fix a really stupid mistake
authorMark Michelson <mmichelson@digium.com>
Thu, 26 Jun 2008 23:06:18 +0000 (23:06 +0000)
committerMark Michelson <mmichelson@digium.com>
Thu, 26 Jun 2008 23:06:18 +0000 (23:06 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125591 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index ea89c06..5bdf72f 100644 (file)
@@ -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);