From: David Vossel Date: Thu, 7 Jan 2010 19:00:44 +0000 (+0000) Subject: Merged revisions 238361 via svnmerge from X-Git-Tag: 1.6.0.21-rc1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f78b4d23b006ef22e2089d5c503c96ab376046d;p=thirdparty%2Fasterisk.git 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: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@238364 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index 74eb7ad172..a30e6a0667 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -5758,7 +5758,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