Skip to content

Commit

Permalink
fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
astei committed Oct 27, 2024
1 parent 69ee655 commit b135148
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ protected void decode(ChannelHandlerContext ctx, ByteBuf in, List<Object> out)
// skip any runs of 0x00 we might find
int packetStart = in.forEachByte(FIND_NON_NUL);
if (packetStart == -1) {
in.clear();
return;
}
in.readerIndex(packetStart);
Expand Down

1 comment on commit b135148

@Outfluencer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice typo

Please sign in to comment.