diff options
Diffstat (limited to 'src/org/traccar/protocol/NavigilFrameDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/NavigilFrameDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/NavigilFrameDecoder.java b/src/org/traccar/protocol/NavigilFrameDecoder.java index 90912fb45..e8b6bea52 100644 --- a/src/org/traccar/protocol/NavigilFrameDecoder.java +++ b/src/org/traccar/protocol/NavigilFrameDecoder.java @@ -47,7 +47,7 @@ public class NavigilFrameDecoder extends BaseFrameDecoder { buf.readUnsignedIntLE(); length -= 4; } - return buf.readBytes(length); + return buf.readRetainedSlice(length); } return null; |