From 4902d0cd3fbcb6764c20eed28a0bd7f2822d1795 Mon Sep 17 00:00:00 2001 From: dvossel Date: Thu, 7 Jan 2010 19:00:16 +0000 Subject: Merged revisions 238361 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r238361 | dvossel | 2010-01-07 12:58:23 -0600 (Thu, 07 Jan 2010) | 8 lines cli 'queue show' formatting fix. queue name was truncated over 12 characters (closes issue #16078) Reported by: RoadKill Patches: quequename_limit.patch uploaded by ppyy (license 906) Tested by: dvossel ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@238363 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/app_queue.c b/apps/app_queue.c index 519e2d70a..5ec033561 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -5849,7 +5849,7 @@ static char *__queues_show(struct mansession *s, int fd, int argc, char **argv) } found = 1; - ast_str_set(&out, 0, "%-12.12s has %d calls (max ", q->name, q->count); + ast_str_set(&out, 0, "%s has %d calls (max ", q->name, q->count); if (q->maxlen) ast_str_append(&out, 0, "%d", q->maxlen); else -- cgit v1.2.3