[Asterisk-code-review] main/cdr.c: Correct Party A selection. (asterisk[master])
Sean Bright
asteriskteam at digium.com
Thu Jul 15 08:29:14 CDT 2021
Sean Bright has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/16173 )
Change subject: main/cdr.c: Correct Party A selection.
......................................................................
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
---
M main/cdr.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/73/16173/1
diff --git a/main/cdr.c b/main/cdr.c
index e862caf..abc5cb3 100644
--- a/main/cdr.c
+++ b/main/cdr.c
@@ -1203,7 +1203,7 @@
/* 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;
}
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/16173
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I51e0de92042e53f37597c6f83a75621ef0d1ae37
Gerrit-Change-Number: 16173
Gerrit-PatchSet: 1
Gerrit-Owner: Sean Bright <sean at seanbright.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210715/b0992a91/attachment.html>
More information about the asterisk-code-review
mailing list