diff options
author | Mark Spencer <markster@digium.com> | 2005-01-10 14:46:59 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-01-10 14:46:59 +0000 |
commit | 92eb0c2018018027bce11ece6b126cdabf3b25ea (patch) | |
tree | 94729885f0b947fa8b165ec1de895249d579c6c0 /apps/app_queue.c | |
parent | e7cb9750213a8a88de1818f2d5b2b928c2661afd (diff) |
More flagification, courtesy drumkilla (bug #3280)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rwxr-xr-x | apps/app_queue.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index ef7115db4..4d2cd9813 100755 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -1543,13 +1543,13 @@ static int try_calling(struct queue_ent *qe, char *options, char *announceoverri memset(&config,0,sizeof(struct ast_bridge_config)); if (ast_test_flag(&flags, QUEUE_FLAG_REDIR_IN)) - config.features_callee |= AST_FEATURE_REDIRECT; + ast_set_flag(&(config.features_callee), AST_FEATURE_REDIRECT); if (ast_test_flag(&flags, QUEUE_FLAG_REDIR_OUT)) - config.features_caller |= AST_FEATURE_REDIRECT; + ast_set_flag(&(config.features_caller), AST_FEATURE_REDIRECT); if (ast_test_flag(&flags, QUEUE_FLAG_DISCON_IN)) - config.features_callee |= AST_FEATURE_DISCONNECT; + ast_set_flag(&(config.features_callee), AST_FEATURE_DISCONNECT); if (ast_test_flag(&flags, QUEUE_FLAG_DISCON_OUT)) - config.features_caller |= AST_FEATURE_DISCONNECT; + ast_set_flag(&(config.features_caller), AST_FEATURE_DISCONNECT); bridge = ast_bridge_call(qe->chan,peer,&config); if (strcasecmp(oldcontext, qe->chan->context) || strcasecmp(oldexten, qe->chan->exten)) { |