diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/CellocatorFrameDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/CellocatorFrameDecoder.java b/src/org/traccar/protocol/CellocatorFrameDecoder.java index cddb33d52..eb1c748b9 100644 --- a/src/org/traccar/protocol/CellocatorFrameDecoder.java +++ b/src/org/traccar/protocol/CellocatorFrameDecoder.java @@ -61,7 +61,7 @@ public class CellocatorFrameDecoder extends FrameDecoder { // Read packet if (length > 0 && available >= length) { - return buf.readBytes(length + 2); + return buf.readBytes(length); } return null; |