[svn-commits] russell: branch russell/sla_updates r56228 - /team/russell/sla_updates/apps/

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Feb 22 11:13:10 MST 2007


Author: russell
Date: Thu Feb 22 12:13:10 2007
New Revision: 56228

URL: http://svn.digium.com/view/asterisk?view=rev&rev=56228
Log:
Fix some arguments that were in the wrong order and tweak some output formatting

Modified:
    team/russell/sla_updates/apps/app_meetme.c

Modified: team/russell/sla_updates/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/team/russell/sla_updates/apps/app_meetme.c?view=diff&rev=56228&r1=56227&r2=56228
==============================================================================
--- team/russell/sla_updates/apps/app_meetme.c (original)
+++ team/russell/sla_updates/apps/app_meetme.c Thu Feb 22 12:13:10 2007
@@ -1009,7 +1009,7 @@
 					ring_timeout);
 		AST_RWLIST_RDLOCK(&sla_stations);
 		AST_LIST_TRAVERSE(&trunk->stations, station_ref, entry)
-			ast_cli(fd, "--- =====> Station name: %s\n", station_ref->station->name);
+			ast_cli(fd, "---    ==> Station name: %s\n", station_ref->station->name);
 		AST_RWLIST_UNLOCK(&sla_stations);
 		ast_cli(fd, "---\n");
 	}
@@ -1058,8 +1058,8 @@
 					"--- ==> AutoContext: %s\n"
 					"--- ==> RingTimeout: %s\n"
 					"--- ==> Trunks ...\n",
-					station->name, station->device, ring_timeout,
-					S_OR(station->autocontext, "(none)"));
+					station->name, station->device,
+					S_OR(station->autocontext, "(none)"), ring_timeout);
 		AST_RWLIST_RDLOCK(&sla_trunks);
 		AST_LIST_TRAVERSE(&station->trunks, trunk_ref, entry) {
 			if (trunk_ref->ring_timeout) {
@@ -1067,11 +1067,11 @@
 					"%u", trunk_ref->ring_timeout);
 			} else
 				strcpy(ring_timeout, "(none)");
-			ast_cli(fd, "--- =====> Trunk Name: %s\n", 
+			ast_cli(fd, "---    ==> Trunk Name: %s\n", 
 				trunk_ref->trunk->name);
-			ast_cli(fd, "--- ========> State:       %s\n", 
+			ast_cli(fd, "---       ==> State:       %s\n", 
 				trunkstate2str(trunk_ref->state));
-			ast_cli(fd, "--- ========> RingTimeout: %s\n", ring_timeout);
+			ast_cli(fd, "---       ==> RingTimeout: %s\n", ring_timeout);
 		}
 		AST_RWLIST_UNLOCK(&sla_trunks);
 		ast_cli(fd, "---\n");



More information about the svn-commits mailing list