diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-12-04 20:40:46 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-12-04 20:40:46 +0000 |
commit | cfb1ef47122283b97ab2e05437c47b6e60f7c54f (patch) | |
tree | 6f52bce69ee88362d0b801e94372ecc39c5091d2 /apps/app_enumlookup.c | |
parent | dc76ba74df2442efe2e986ee50e13247a263ed81 (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: http://svn.digium.com/svn/asterisk/trunk@7331 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_enumlookup.c')
-rw-r--r-- | apps/app_enumlookup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_enumlookup.c b/apps/app_enumlookup.c index bd209c47b..98e66e1a8 100644 --- a/apps/app_enumlookup.c +++ b/apps/app_enumlookup.c @@ -122,7 +122,7 @@ static int enumlookup_exec(struct ast_channel *chan, void *data) res = ast_get_enum(chan, args.d, dest, sizeof(dest), tech, sizeof(tech), NULL, NULL); if (!res) { /* Failed to do a lookup */ - if (priority_jump || option_priority_jumping) { + if (priority_jump || ast_opt_priority_jumping) { /* Look for a "busy" place */ ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101); } @@ -180,7 +180,7 @@ static int enumlookup_exec(struct ast_channel *chan, void *data) *t = 0; pbx_builtin_setvar_helper(chan, "ENUM", tmp); ast_log(LOG_NOTICE, "tel: ENUM set to \"%s\"\n", tmp); - if (priority_jump || option_priority_jumping) { + if (priority_jump || ast_opt_priority_jumping) { if (ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 51)) res = 0; } |