[asterisk-commits] file: trunk r100094 - /trunk/main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jan 23 21:30:56 CST 2008


Author: file
Date: Wed Jan 23 21:30:56 2008
New Revision: 100094

URL: http://svn.digium.com/view/asterisk?view=rev&rev=100094
Log:
Add some spacing.

Modified:
    trunk/main/channel.c

Change Statistics:
 0 files changed

Modified: trunk/main/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/main/channel.c?view=diff&rev=100094&r1=100093&r2=100094
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Wed Jan 23 21:30:56 2008
@@ -206,10 +206,12 @@
 
 	ast_cli(a->fd, FORMAT, "Type", "Description",       "Devicestate", "Indications", "Transfer");
 	ast_cli(a->fd, FORMAT, "----------", "-----------", "-----------", "-----------", "--------");
+
 	if (AST_RWLIST_RDLOCK(&channels)) {
 		ast_log(LOG_WARNING, "Unable to lock channel list\n");
 		return CLI_FAILURE;
 	}
+
 	AST_LIST_TRAVERSE(&backends, cl, list) {
 		ast_cli(a->fd, FORMAT, cl->tech->type, cl->tech->description,
 			(cl->tech->devicestate) ? "yes" : "no",
@@ -217,8 +219,11 @@
 			(cl->tech->transfer) ? "yes" : "no");
 		count_chan++;
 	}
+
 	AST_RWLIST_UNLOCK(&channels);
+
 	ast_cli(a->fd, "----------\n%d channel drivers registered.\n", count_chan);
+
 	return CLI_SUCCESS;
 
 #undef FORMAT




More information about the asterisk-commits mailing list