From ec05153ac4e80313e89a0326bfefe17a4ae21f9c Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Sun, 4 Dec 2005 20:40:46 +0000 Subject: 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 --- apps/app_privacy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/app_privacy.c') diff --git a/apps/app_privacy.c b/apps/app_privacy.c index 799f31bd2..b94fd69d8 100644 --- a/apps/app_privacy.c +++ b/apps/app_privacy.c @@ -202,7 +202,7 @@ static int privacy_exec (struct ast_channel *chan, void *data) ast_verbose (VERBOSE_PREFIX_3 "Changed Caller*ID to %s\n",phone); pbx_builtin_setvar_helper(chan, "PRIVACYMGRSTATUS", "SUCCESS"); } else { - if (priority_jump || option_priority_jumping) + if (priority_jump || ast_opt_priority_jumping) ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101); pbx_builtin_setvar_helper(chan, "PRIVACYMGRSTATUS", "FAILED"); } -- cgit v1.2.3