[asterisk-commits] jrose: branch jrose/bridge_projects r385712 - in /team/jrose/bridge_projects:...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Apr 15 10:52:18 CDT 2013


Author: jrose
Date: Mon Apr 15 10:52:15 2013
New Revision: 385712

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=385712
Log:
minor cleanup

Modified:
    team/jrose/bridge_projects/main/manager_channels.c
    team/jrose/bridge_projects/res/parking/parking_controller.c

Modified: team/jrose/bridge_projects/main/manager_channels.c
URL: http://svnview.digium.com/svn/asterisk/team/jrose/bridge_projects/main/manager_channels.c?view=diff&rev=385712&r1=385711&r2=385712
==============================================================================
--- team/jrose/bridge_projects/main/manager_channels.c (original)
+++ team/jrose/bridge_projects/main/manager_channels.c Mon Apr 15 10:52:15 2013
@@ -240,10 +240,6 @@
 	int res = 0;
 	if (!out) {
 		return NULL;
-	}
-
-	if (!suffix) {
-		suffix = "";
 	}
 
 	res = ast_str_set(&out, 0,
@@ -280,7 +276,8 @@
 		struct ast_var_t *var;
 		AST_LIST_TRAVERSE(snapshot->manager_vars, var, entries) {
 			ast_str_append(&out, 0, "ChanVariable%s: %s=%s\r\n",
-				suffix, var->name, var->value);
+						   suffix,
+						   var->name, var->value);
 		}
 	}
 

Modified: team/jrose/bridge_projects/res/parking/parking_controller.c
URL: http://svnview.digium.com/svn/asterisk/team/jrose/bridge_projects/res/parking/parking_controller.c?view=diff&rev=385712&r1=385711&r2=385712
==============================================================================
--- team/jrose/bridge_projects/res/parking/parking_controller.c (original)
+++ team/jrose/bridge_projects/res/parking/parking_controller.c Mon Apr 15 10:52:15 2013
@@ -41,7 +41,6 @@
 		return state->parking_bridge;
 	}
 
-	/* XXX Richard has changed some things here. Need to implement subclass of bridge as part of the next phase */
 	lot_bridge = bridge_parking_new(state);
 	if (!lot_bridge) {
 		return NULL;




More information about the asterisk-commits mailing list