mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
Cosmetic changes. Make main source files better conform to coding guidelines and standards. (issue #8679 reported by johann8384)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1099,7 +1099,7 @@ static int ivr_dispatch(struct ast_channel *chan, struct ast_ivr_option *option,
|
||||
char *c;
|
||||
char *n;
|
||||
|
||||
switch(option->action) {
|
||||
switch (option->action) {
|
||||
case AST_ACTION_UPONE:
|
||||
return RES_UPONE;
|
||||
case AST_ACTION_EXIT:
|
||||
@@ -1210,8 +1210,8 @@ static int ast_ivr_menu_run_internal(struct ast_channel *chan, struct ast_ivr_me
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
while(!res) {
|
||||
while(menu->options[pos].option) {
|
||||
while (!res) {
|
||||
while (menu->options[pos].option) {
|
||||
if (!strcasecmp(menu->options[pos].option, exten)) {
|
||||
res = ivr_dispatch(chan, menu->options + pos, exten, cbdata);
|
||||
if (option_debug)
|
||||
|
Reference in New Issue
Block a user