From 0a6c0ee1f7c7a773872155d281895e4e85376550 Mon Sep 17 00:00:00 2001 From: David Vossel Date: Thu, 7 Jan 2010 18:58:23 +0000 Subject: 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: https://origsvn.digium.com/svn/asterisk/trunk@238361 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/app_queue.c') diff --git a/apps/app_queue.c b/apps/app_queue.c index c9c2473a2..1b5e7b8a3 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -6590,7 +6590,7 @@ static char *__queues_show(struct mansession *s, int fd, int argc, const char * } 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