mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
main/cdr.c: Correct Party A selection.
This appears to just have been a copy/paste error from 6258bbe7
. Fix
suggested by Ross Beer in ASTERISK~29166.
Change-Id: I51e0de92042e53f37597c6f83a75621ef0d1ae37
This commit is contained in:
committed by
Friendly Automation
parent
a41d192e99
commit
fcebc4d24a
@@ -1203,7 +1203,7 @@ static struct cdr_object_snapshot *cdr_object_pick_party_a(struct cdr_object_sna
|
||||
/* Try the Party A flag */
|
||||
if (ast_test_flag(left, AST_CDR_FLAG_PARTY_A) && !ast_test_flag(right, AST_CDR_FLAG_PARTY_A)) {
|
||||
return left;
|
||||
} else if (!ast_test_flag(right, AST_CDR_FLAG_PARTY_A) && ast_test_flag(right, AST_CDR_FLAG_PARTY_A)) {
|
||||
} else if (!ast_test_flag(left, AST_CDR_FLAG_PARTY_A) && ast_test_flag(right, AST_CDR_FLAG_PARTY_A)) {
|
||||
return right;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user