mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
Remove as much trailing whitespace as possible.
Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
* \brief While Loop Implementation
|
||||
*
|
||||
* \author Anthony Minessale <anthmct@yahoo.com>
|
||||
*
|
||||
*
|
||||
* \ingroup applications
|
||||
*/
|
||||
|
||||
@@ -225,13 +225,13 @@ static int _while_exec(struct ast_channel *chan, const char *data, int end)
|
||||
for (x=0;;x++) {
|
||||
if (get_index(chan, prefix, x)) {
|
||||
used_index_i = x;
|
||||
} else
|
||||
} else
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
snprintf(used_index, VAR_SIZE, "%d", used_index_i);
|
||||
snprintf(new_index, VAR_SIZE, "%d", used_index_i + 1);
|
||||
|
||||
|
||||
if (!end)
|
||||
condition = ast_strdupa(data);
|
||||
|
||||
@@ -239,7 +239,7 @@ static int _while_exec(struct ast_channel *chan, const char *data, int end)
|
||||
my_name = ast_alloca(size);
|
||||
memset(my_name, 0, size);
|
||||
snprintf(my_name, size, "%s_%s_%d", ast_channel_context(chan), ast_channel_exten(chan), ast_channel_priority(chan));
|
||||
|
||||
|
||||
ast_channel_lock(chan);
|
||||
if (end) {
|
||||
label = used_index;
|
||||
@@ -253,7 +253,7 @@ static int _while_exec(struct ast_channel *chan, const char *data, int end)
|
||||
snprintf(end_varname,VAR_SIZE,"END_%s",varname);
|
||||
}
|
||||
ast_channel_unlock(chan);
|
||||
|
||||
|
||||
|
||||
if ((!end && !pbx_checkcondition(condition)) || (end == 2)) {
|
||||
/* Condition Met (clean up helper vars) */
|
||||
@@ -338,7 +338,7 @@ static int while_continue_exec(struct ast_channel *chan, const char *data)
|
||||
static int unload_module(void)
|
||||
{
|
||||
int res;
|
||||
|
||||
|
||||
res = ast_unregister_application(start_app);
|
||||
res |= ast_unregister_application(stop_app);
|
||||
res |= ast_unregister_application(exit_app);
|
||||
|
||||
Reference in New Issue
Block a user