[asterisk-commits] rmudgett: branch rmudgett/parking r331145 - /team/rmudgett/parking/main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Aug 9 11:11:30 CDT 2011
Author: rmudgett
Date: Tue Aug 9 11:11:26 2011
New Revision: 331145
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=331145
Log:
Fix CLI parkedcalls show column formatting.
Modified:
team/rmudgett/parking/main/features.c
Modified: team/rmudgett/parking/main/features.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/parking/main/features.c?view=diff&rev=331145&r1=331144&r2=331145
==============================================================================
--- team/rmudgett/parking/main/features.c (original)
+++ team/rmudgett/parking/main/features.c Tue Aug 9 11:11:26 2011
@@ -6686,7 +6686,7 @@
if (a->argc > e->args)
return CLI_SHOWUSAGE;
- ast_cli(a->fd, "%4s %25s (%-15s %-12s %-4s) %-6s \n", "Num", "Channel",
+ ast_cli(a->fd, "%-10s %-25s (%-15s %-12s %4s) %s\n", "Num", "Channel",
"Context", "Extension", "Pri", "Timeout");
iter = ao2_iterator_init(parkinglots, 0);
@@ -6699,7 +6699,7 @@
AST_LIST_LOCK(&curlot->parkings);
AST_LIST_TRAVERSE(&curlot->parkings, cur, list) {
- ast_cli(a->fd, "%-10.10s %25s (%-15s %-12s %-4d) %6lds\n",
+ ast_cli(a->fd, "%-10.10s %-25s (%-15s %-12s %4d) %6lds\n",
cur->parkingexten, cur->chan->name, cur->context, cur->exten,
cur->priority,
(long) (cur->start.tv_sec + (cur->parkingtime / 1000) - time(NULL)));
More information about the asterisk-commits
mailing list