]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 238361 via svnmerge from
authorDavid Vossel <dvossel@digium.com>
Thu, 7 Jan 2010 18:59:03 +0000 (18:59 +0000)
committerDavid Vossel <dvossel@digium.com>
Thu, 7 Jan 2010 18:59:03 +0000 (18:59 +0000)
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.2@238362 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index e16993ffd8076338e67392b62e03694396e41dc5..e1d7e0fda0163aa6be30e9f901f2dbc47eb305e2 100644 (file)
@@ -6134,7 +6134,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