diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-07-16 21:30:21 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-07-16 21:30:21 +1200 |
commit | 3a4b5c8647c9925ab740a566097c5e92d4a5eedf (patch) | |
tree | 0360a8cf9f0a5d9ba2eef911e6475bad7e8a8e3c /src | |
parent | 89af5a5798bbf1f34a446c3b357aa5cb63ef1e79 (diff) | |
download | trackermap-server-3a4b5c8647c9925ab740a566097c5e92d4a5eedf.tar.gz trackermap-server-3a4b5c8647c9925ab740a566097c5e92d4a5eedf.tar.bz2 trackermap-server-3a4b5c8647c9925ab740a566097c5e92d4a5eedf.zip |
Fix Cellocator frame decoder
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; |