[svn-commits] kmoore: branch kmoore/stasis-cel_refactoring r388974 - /team/kmoore/stasis-ce...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri May 17 12:28:57 CDT 2013
Author: kmoore
Date: Fri May 17 12:28:53 2013
New Revision: 388974
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=388974
Log:
Correct logic inversion
Modified:
team/kmoore/stasis-cel_refactoring/main/cel.c
Modified: team/kmoore/stasis-cel_refactoring/main/cel.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/stasis-cel_refactoring/main/cel.c?view=diff&rev=388974&r1=388973&r2=388974
==============================================================================
--- team/kmoore/stasis-cel_refactoring/main/cel.c (original)
+++ team/kmoore/stasis-cel_refactoring/main/cel.c Fri May 17 12:28:53 2013
@@ -166,7 +166,7 @@
{
struct ast_multi_channel_blob *blob = (void *) obj;
const char *uniqueid = obj;
- if (flags & OBJ_KEY) {
+ if (!(flags & OBJ_KEY)) {
uniqueid = get_caller_uniqueid(blob);
}
@@ -178,7 +178,7 @@
{
struct ast_multi_channel_blob *blob1 = obj, *blob2 = arg;
const char *blob2_id = arg, *blob1_id = get_caller_uniqueid(blob1);
- if (flags & OBJ_KEY) {
+ if (!(flags & OBJ_KEY)) {
blob2_id = get_caller_uniqueid(blob2);
}
More information about the svn-commits
mailing list