diff options
author | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-10 14:45:25 +0000 |
---|---|---|
committer | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-10 14:45:25 +0000 |
commit | 842faddb76b6fbcbd623292bf1656d76eb22f3a7 (patch) | |
tree | 9d240f929d1efd30035a0505db16ba0f8e1ca439 /apps/app_disa.c | |
parent | 1013afa1ad09d854207d24d3aed691321fecc100 (diff) |
More RSW merges. Everything from apps/ except for the big offenders
app_voicemail and app_queue.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137055 f38db490-d61c-443f-a65b-d21fe96a405b
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; } |