diff options
author | Sean Bright <sean@malleable.com> | 2008-08-10 14:45:25 +0000 |
---|---|---|
committer | Sean Bright <sean@malleable.com> | 2008-08-10 14:45:25 +0000 |
commit | 3ffb39833b25a02108214d7584733bc6b9c334df (patch) | |
tree | 9d240f929d1efd30035a0505db16ba0f8e1ca439 /apps/app_disa.c | |
parent | 357bf3e90be71578e0b32303c41c5d29f2714c2b (diff) |
More RSW merges. Everything from apps/ except for the big offenders
app_voicemail and app_queue.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_disa.c')
-rw-r--r-- | apps/app_disa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_disa.c b/apps/app_disa.c index 3ff110053..2ed5e15f7 100644 --- a/apps/app_disa.c +++ b/apps/app_disa.c @@ -318,7 +318,7 @@ static int disa_exec(struct ast_channel *chan, void *data) if (k == 3) { int recheck = 0; - struct ast_flags flags = { AST_CDR_FLAG_POSTED }; + struct ast_flags cdr_flags = { AST_CDR_FLAG_POSTED }; if (!ast_exists_extension(chan, args.context, exten, 1, chan->cid.cid_num)) { pbx_builtin_setvar_helper(chan, "INVALID_EXTEN", exten); @@ -337,8 +337,8 @@ static int disa_exec(struct ast_channel *chan, void *data) if (!ast_strlen_zero(acctcode)) ast_string_field_set(chan, accountcode, acctcode); - if (special_noanswer) flags.flags = 0; - ast_cdr_reset(chan->cdr, &flags); + if (special_noanswer) cdr_flags.flags = 0; + ast_cdr_reset(chan->cdr, &cdr_flags); ast_explicit_goto(chan, args.context, exten, 1); return 0; } |