diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-08-27 21:19:50 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-08-27 21:19:50 -0700 |
commit | c56e307c9626d19b271ef04d852194a4e2069795 (patch) | |
tree | dd3f2f609356da87dbb169124521c8fb30954d9a /src | |
parent | 707bdf44a32238a14fed324c12f69c343d3dd8c6 (diff) | |
download | traccar-server-c56e307c9626d19b271ef04d852194a4e2069795.tar.gz traccar-server-c56e307c9626d19b271ef04d852194a4e2069795.tar.bz2 traccar-server-c56e307c9626d19b271ef04d852194a4e2069795.zip |
Update response
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java | 2 |
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(); |