Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 3447e8711227f83ff8d02a90078e376c3fbf5a0f 1 parent 00106b3
Norman Maurer authored
2  codec/src/main/java/io/netty/handler/codec/ByteToByteDecoder.java
@@ -23,7 +23,7 @@
23 23
 
24 24
     @Override
25 25
     public void inboundBufferUpdated(ChannelHandlerContext ctx, ByteBuf in) throws Exception {
26  
-        callDecode(ctx, in, ctx.nextOutboundByteBuffer());
  26
+        callDecode(ctx, in, ctx.nextInboundByteBuffer());
27 27
     }
28 28
 
29 29
     @Override

0 notes on commit 3447e87

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