Skip to content

Commit

Permalink
Fix a regression introduced by 00853d9
Browse files Browse the repository at this point in the history
.. by fixing incorrect bitwise operation for pipeline traversal
  • Loading branch information
trustin committed May 22, 2014
1 parent e23a688 commit 53e3548
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -519,15 +519,15 @@ private DefaultChannelHandlerContext findContextInbound() {
DefaultChannelHandlerContext ctx = this;
do {
ctx = ctx.next;
} while ((ctx.skipFlags & MASKGROUP_INBOUND) != 0);
} while ((ctx.skipFlags & MASKGROUP_INBOUND) == MASKGROUP_INBOUND);
return ctx;
}

private DefaultChannelHandlerContext findContextOutbound() {
DefaultChannelHandlerContext ctx = this;
do {
ctx = ctx.prev;
} while ((ctx.skipFlags & MASKGROUP_OUTBOUND) != 0);
} while ((ctx.skipFlags & MASKGROUP_OUTBOUND) == MASKGROUP_OUTBOUND);
return ctx;
}

Expand Down

0 comments on commit 53e3548

Please sign in to comment.