Pass the right ByteBuf to the decode(..) method. See #459

This commit is contained in:
norman 2012-07-18 09:26:11 +02:00
parent 00106b367c
commit 3447e87112

View File

@ -23,7 +23,7 @@ public abstract class ByteToByteDecoder extends ChannelInboundByteHandlerAdapter
@Override
public void inboundBufferUpdated(ChannelHandlerContext ctx, ByteBuf in) throws Exception {
callDecode(ctx, in, ctx.nextOutboundByteBuffer());
callDecode(ctx, in, ctx.nextInboundByteBuffer());
}
@Override