[asterisk-commits] kmoore: trunk r386352 - /trunk/res/res_stasis.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Apr 23 13:57:04 CDT 2013
Author: kmoore
Date: Tue Apr 23 13:57:00 2013
New Revision: 386352
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=386352
Log:
Fix some bad whitespace
This crept in with the RESTful HTTP interface merge.
Modified:
trunk/res/res_stasis.c
Modified: trunk/res/res_stasis.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_stasis.c?view=diff&rev=386352&r1=386351&r2=386352
==============================================================================
--- trunk/res/res_stasis.c (original)
+++ trunk/res/res_stasis.c Tue Apr 23 13:57:00 2013
@@ -240,10 +240,10 @@
static void *exec_command(struct stasis_app_control *control,
struct stasis_app_command *command)
{
- ao2_lock(control);
+ ao2_lock(control);
ao2_ref(command, +1);
ao2_link(control->command_queue, command);
- ao2_unlock(control);
+ ao2_unlock(control);
return wait_for_command(command);
}
@@ -302,12 +302,12 @@
*/
static int control_continue_test_and_reset(struct stasis_app_control *control)
{
- int r;
- SCOPED_AO2LOCK(lock, control);
-
- r = control->continue_to_dialplan;
- control->continue_to_dialplan = 0;
- return r;
+ int r;
+ SCOPED_AO2LOCK(lock, control);
+
+ r = control->continue_to_dialplan;
+ control->continue_to_dialplan = 0;
+ return r;
}
void stasis_app_control_continue(struct stasis_app_control *control)
@@ -526,7 +526,7 @@
struct ao2_iterator i;
void *obj;
- SCOPED_AO2LOCK(lock, control);
+ SCOPED_AO2LOCK(lock, control);
i = ao2_iterator_init(control->command_queue, AO2_ITERATOR_UNLINK);
More information about the asterisk-commits
mailing list