[svn-commits] dlee: branch 12 r402817 - /branches/12/res/res_stasis.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Nov 14 09:01:52 CST 2013


Author: dlee
Date: Thu Nov 14 09:01:51 2013
New Revision: 402817

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=402817
Log:
stasis: Fixed scoping problem with bridge tracking.

Modified:
    branches/12/res/res_stasis.c

Modified: branches/12/res/res_stasis.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/res/res_stasis.c?view=diff&rev=402817&r1=402816&r2=402817
==============================================================================
--- branches/12/res/res_stasis.c (original)
+++ branches/12/res/res_stasis.c Thu Nov 14 09:01:51 2013
@@ -704,6 +704,7 @@
 
 	RAII_VAR(struct app *, app, NULL, ao2_cleanup);
 	RAII_VAR(struct stasis_app_control *, control, NULL, control_unlink);
+	struct ast_bridge *last_bridge = NULL;
 	int res = 0;
 
 	ast_assert(chan != NULL);
@@ -745,7 +746,6 @@
 		RAII_VAR(struct ast_frame *, f, NULL, ast_frame_dtor);
 		int r;
 		int command_count;
-		struct ast_bridge *last_bridge = NULL;
 		struct ast_bridge *bridge = NULL;
 
 		/* Check to see if a bridge absorbed our hangup frame */




More information about the svn-commits mailing list