aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-07-16 21:30:21 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2013-07-16 21:30:21 +1200
commit3a4b5c8647c9925ab740a566097c5e92d4a5eedf (patch)
tree0360a8cf9f0a5d9ba2eef911e6475bad7e8a8e3c /src
parent89af5a5798bbf1f34a446c3b357aa5cb63ef1e79 (diff)
downloadtraccar-server-3a4b5c8647c9925ab740a566097c5e92d4a5eedf.tar.gz
traccar-server-3a4b5c8647c9925ab740a566097c5e92d4a5eedf.tar.bz2
traccar-server-3a4b5c8647c9925ab740a566097c5e92d4a5eedf.zip
Fix Cellocator frame decoder
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/CellocatorFrameDecoder.java2
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;