Skip to content
Browse files

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

  • Loading branch information...
1 parent 00106b3 commit 3447e8711227f83ff8d02a90078e376c3fbf5a0f @normanmaurer normanmaurer committed Jul 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 codec/src/main/java/io/netty/handler/codec/ByteToByteDecoder.java
View
2 codec/src/main/java/io/netty/handler/codec/ByteToByteDecoder.java
@@ -23,7 +23,7 @@
@Override
public void inboundBufferUpdated(ChannelHandlerContext ctx, ByteBuf in) throws Exception {
- callDecode(ctx, in, ctx.nextOutboundByteBuffer());
+ callDecode(ctx, in, ctx.nextInboundByteBuffer());
}
@Override

0 comments on commit 3447e87

Please sign in to comment.
Something went wrong with that request. Please try again.