diff options
author | Kinsey Moore <kmoore@digium.com> | 2013-04-23 18:57:00 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2013-04-23 18:57:00 +0000 |
commit | e6d77dcdb54e5f737e0e21603e842dda5c360fa7 (patch) | |
tree | 9aa2e9c757d6aabbc50bee9e158d5f7765333c04 | |
parent | c137d1211154427b8cbcdfc499b54556db6c79b2 (diff) |
Fix some bad whitespace
This crept in with the RESTful HTTP interface merge.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@386352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | res/res_stasis.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/res/res_stasis.c b/res/res_stasis.c index 045362546..ff4fa8c56 100644 --- a/res/res_stasis.c +++ b/res/res_stasis.c @@ -240,10 +240,10 @@ static struct stasis_app_control *control_create(const char *uniqueid) 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 @@ struct stasis_app_control *stasis_app_control_find_by_channel_id( */ static int control_continue_test_and_reset(struct stasis_app_control *control) { - int r; - SCOPED_AO2LOCK(lock, control); + int r; + SCOPED_AO2LOCK(lock, control); - r = control->continue_to_dialplan; - control->continue_to_dialplan = 0; - return r; + 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 @@ static void dispatch_commands(struct stasis_app_control *control, struct ao2_iterator i; void *obj; - SCOPED_AO2LOCK(lock, control); + SCOPED_AO2LOCK(lock, control); i = ao2_iterator_init(control->command_queue, AO2_ITERATOR_UNLINK); |