Fix a regression introduced by 00853d9453

.. by fixing incorrect bitwise operation for pipeline traversal
This commit is contained in:
Trustin Lee 2014-05-23 01:15:41 +09:00
parent e23a688c63
commit 53e35480f0

View File

@ -519,7 +519,7 @@ final class DefaultChannelHandlerContext implements ChannelHandlerContext, Resou
DefaultChannelHandlerContext ctx = this;
do {
ctx = ctx.next;
} while ((ctx.skipFlags & MASKGROUP_INBOUND) != 0);
} while ((ctx.skipFlags & MASKGROUP_INBOUND) == MASKGROUP_INBOUND);
return ctx;
}
@ -527,7 +527,7 @@ final class DefaultChannelHandlerContext implements ChannelHandlerContext, Resou
DefaultChannelHandlerContext ctx = this;
do {
ctx = ctx.prev;
} while ((ctx.skipFlags & MASKGROUP_OUTBOUND) != 0);
} while ((ctx.skipFlags & MASKGROUP_OUTBOUND) == MASKGROUP_OUTBOUND);
return ctx;
}