[asterisk-commits] dvossel: trunk r238361 - /trunk/apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jan 7 12:58:28 CST 2010


Author: dvossel
Date: Thu Jan  7 12:58:23 2010
New Revision: 238361

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=238361
Log:
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

Modified:
    trunk/apps/app_queue.c

Modified: trunk/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_queue.c?view=diff&rev=238361&r1=238360&r2=238361
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Thu Jan  7 12:58:23 2010
@@ -6590,7 +6590,7 @@
 		}
 		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




More information about the asterisk-commits mailing list