Fixed a typo in the User Guide code

This commit is contained in:
Trustin Lee 2008-12-31 03:37:15 +00:00
parent 026fc520bb
commit 6173181792

View File

@ -238,7 +238,7 @@ public class DiscardServer {
public void messageReceived(&ChannelHandlerContext; ctx, &MessageEvent; e) {
&ChannelBuffer;<co id="example.discard3.co1"/> buf = (ChannelBuffer) e.getMessage();
while(buf.readable()) {
System.out.println((char) buf.readByte(i));
System.out.println((char) buf.readByte());
}
}</programlisting>
<calloutlist>