static int show_channeltypes(int fd, int argc, char *argv[])
{
-#define FORMAT "%-7.7s %-50.50s\n"
+#define FORMAT "%-10.10s %-50.50s\n"
struct chanlist *cl = backends;
ast_cli(fd, FORMAT, "Type", "Description");
- ast_cli(fd, FORMAT, "------", "-----------");
+ ast_cli(fd, FORMAT, "----------", "-----------");
if (ast_mutex_lock(&chlock)) {
ast_log(LOG_WARNING, "Unable to lock channel list\n");
return -1;
ast_mutex_unlock(&chlock);
return RESULT_SUCCESS;
+#undef FORMAT
+
}
static char show_channeltypes_usage[] =