diff options
Diffstat (limited to 'src/org/traccar/protocol/UlbotechFrameDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/UlbotechFrameDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/UlbotechFrameDecoder.java b/src/org/traccar/protocol/UlbotechFrameDecoder.java index f141dc9b7..776400cda 100644 --- a/src/org/traccar/protocol/UlbotechFrameDecoder.java +++ b/src/org/traccar/protocol/UlbotechFrameDecoder.java @@ -36,7 +36,7 @@ public class UlbotechFrameDecoder extends BaseFrameDecoder { int index = buf.indexOf(buf.readerIndex() + 1, buf.writerIndex(), (byte) 0xF8); if (index != -1) { - ByteBuf result = Unpooled.buffer(index + 1 - buf.readerIndex()); + ByteBuf result = Unpooled.buffer(index + 1 - buf.readerIndex()); // TODO ref count while (buf.readerIndex() <= index) { int b = buf.readUnsignedByte(); |