diff options
author | Russell Bryant <russell@russellbryant.com> | 2005-12-04 20:40:46 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2005-12-04 20:40:46 +0000 |
commit | ec05153ac4e80313e89a0326bfefe17a4ae21f9c (patch) | |
tree | 6f52bce69ee88362d0b801e94372ecc39c5091d2 /apps/app_url.c | |
parent | b6b32ebd9148b30dd2c3899237a6bb3ca3bd7c1a (diff) |
convert most of the option_*'s to a single ast_flags structure. Also, fix some
formatting, remove some unnecessary casts, and other little code cleanups.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_url.c')
-rw-r--r-- | apps/app_url.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_url.c b/apps/app_url.c index 7f274b46a..a856fb1a4 100644 --- a/apps/app_url.c +++ b/apps/app_url.c @@ -108,7 +108,7 @@ static int sendurl_exec(struct ast_channel *chan, void *data) if (!ast_channel_supports_html(chan)) { /* Does not support transport */ - if (local_option_jump || option_priority_jumping) + if (local_option_jump || ast_opt_priority_jumping) ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101); pbx_builtin_setvar_helper(chan, "SENDURLSTATUS", "UNSUPPORTED"); LOCAL_USER_REMOVE(u); @@ -144,7 +144,7 @@ static int sendurl_exec(struct ast_channel *chan, void *data) case AST_HTML_NOSUPPORT: /* Does not support transport */ status ="UNSUPPORTED"; - if (local_option_jump || option_priority_jumping) + if (local_option_jump || ast_opt_priority_jumping) ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101); res = 0; goto out; |