diff options
author | Joshua Colp <jcolp@digium.com> | 2007-01-23 00:11:32 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2007-01-23 00:11:32 +0000 |
commit | 21b53af31dcf5e881bf2e6617d7605653119c2f4 (patch) | |
tree | 2dedc24f8adfd522fcad82dd7e12e53bf19ff853 /main/app.c | |
parent | dcdc6c0bc6d89a9f204dd637826e8b690ebf0206 (diff) |
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
Diffstat (limited to 'main/app.c')
-rw-r--r-- | main/app.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/app.c b/main/app.c index 284400ad2..bea481a2b 100644 --- a/main/app.c +++ b/main/app.c @@ -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) |