diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-06-09 10:04:59 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-06-09 10:04:59 +1200 |
commit | ff1afd37323fa634315841cc84917700f969754b (patch) | |
tree | 3476cae2db88e8d50e1e32390da20666b8fc3f68 /src/org/traccar/protocol/TeltonikaProtocolDecoder.java | |
parent | 024d9cf87a058cf1e5923943af427cb8487abedb (diff) | |
download | trackermap-server-ff1afd37323fa634315841cc84917700f969754b.tar.gz trackermap-server-ff1afd37323fa634315841cc84917700f969754b.tar.bz2 trackermap-server-ff1afd37323fa634315841cc84917700f969754b.zip |
Small formatting updates
Diffstat (limited to 'src/org/traccar/protocol/TeltonikaProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/TeltonikaProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/TeltonikaProtocolDecoder.java b/src/org/traccar/protocol/TeltonikaProtocolDecoder.java index ac51239db..34afe28ad 100644 --- a/src/org/traccar/protocol/TeltonikaProtocolDecoder.java +++ b/src/org/traccar/protocol/TeltonikaProtocolDecoder.java @@ -57,7 +57,7 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder { DeviceSession deviceSession = getDeviceSession(channel, remoteAddress, imei); if (channel != null) { - ByteBuf response = Unpooled.directBuffer(1); + ByteBuf response = Unpooled.buffer(1); if (deviceSession != null) { response.writeByte(1); } else { |