[asterisk-commits] rmudgett: branch rmudgett/ao2_red_black r372998 - /team/rmudgett/ao2_red_blac...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Sep 12 16:08:05 CDT 2012


Author: rmudgett
Date: Wed Sep 12 16:08:02 2012
New Revision: 372998

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=372998
Log:
Adjust some parentheses around bit flag operations.

Modified:
    team/rmudgett/ao2_red_black/main/astobj2.c

Modified: team/rmudgett/ao2_red_black/main/astobj2.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/ao2_red_black/main/astobj2.c?view=diff&rev=372998&r1=372997&r2=372998
==============================================================================
--- team/rmudgett/ao2_red_black/main/astobj2.c (original)
+++ team/rmudgett/ao2_red_black/main/astobj2.c Wed Sep 12 16:08:02 2012
@@ -4609,7 +4609,7 @@
 	state->arg = arg;
 	state->flags = flags;
 
-	if ((flags & (OBJ_POINTER | OBJ_KEY | OBJ_PARTIAL_KEY))) {
+	if (flags & (OBJ_POINTER | OBJ_KEY | OBJ_PARTIAL_KEY)) {
 		/* We are asked to do a directed search. */
 		state->sort_fn = self->common.sort_fn;
 	} else {




More information about the asterisk-commits mailing list