aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-08-27 21:19:50 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-08-27 21:19:50 -0700
commitc56e307c9626d19b271ef04d852194a4e2069795 (patch)
treedd3f2f609356da87dbb169124521c8fb30954d9a /src/main/java/org/traccar
parent707bdf44a32238a14fed324c12f69c343d3dd8c6 (diff)
downloadtrackermap-server-c56e307c9626d19b271ef04d852194a4e2069795.tar.gz
trackermap-server-c56e307c9626d19b271ef04d852194a4e2069795.tar.bz2
trackermap-server-c56e307c9626d19b271ef04d852194a4e2069795.zip
Update response
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java b/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java
index 37d7ae718..68da85067 100644
--- a/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java
@@ -71,7 +71,7 @@ public class HuabaoProtocolDecoder extends BaseProtocolDecoder {
if (shortIndex) {
buf.writeByte(1);
} else {
- buf.writeShort(1);
+ buf.writeShort(0);
}
buf.writeBytes(data);
data.release();