[Asterisk-code-review] main/cdr.c: Correct Party A selection. (asterisk[16])
Sean Bright
asteriskteam at digium.com
Tue Jul 13 10:38:07 CDT 2021
Sean Bright has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/16152 )
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.
ASTERISK-29166 #close
Change-Id: I51e0de92042e53f37597c6f83a75621ef0d1ae37
---
M main/cdr.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/52/16152/1
diff --git a/main/cdr.c b/main/cdr.c
index 93ba32f..8abce86 100644
--- a/main/cdr.c
+++ b/main/cdr.c
@@ -1211,7 +1211,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/+/16152
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I51e0de92042e53f37597c6f83a75621ef0d1ae37
Gerrit-Change-Number: 16152
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/20210713/539eadd6/attachment-0001.html>
More information about the asterisk-code-review
mailing list