[asterisk-commits] file: trunk r393807 - /trunk/res/stasis/control.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jul 8 10:11:09 CDT 2013


Author: file
Date: Mon Jul  8 10:11:07 2013
New Revision: 393807

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=393807
Log:
Fix building.

Modified:
    trunk/res/stasis/control.c

Modified: trunk/res/stasis/control.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/stasis/control.c?view=diff&rev=393807&r1=393806&r2=393807
==============================================================================
--- trunk/res/stasis/control.c (original)
+++ trunk/res/stasis/control.c Mon Jul  8 10:11:07 2013
@@ -209,9 +209,8 @@
 
 char *stasis_app_control_get_channel_var(struct stasis_app_control *control, const char *variable)
 {
+	RAII_VAR(struct ast_str *, tmp, ast_str_create(32), ast_free);
 	SCOPED_CHANNELLOCK(lockvar, control->channel);
-
-	RAII_VAR(struct ast_str *, tmp, ast_str_create(32), ast_free);
 
 	if (!tmp) {
 		return NULL;




More information about the asterisk-commits mailing list