diff options
author | Anton Tananaev <anton@traccar.org> | 2024-03-28 17:58:38 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-03-28 17:58:38 -0700 |
commit | 13f6415ba0a8ca76d1a2cbb3d0ea199361295f1b (patch) | |
tree | cd6b593c165c84c359f85b8999140c86bb159af7 /src | |
parent | b6be94fef718926f5575257ab2724f5e538e215f (diff) | |
download | trackermap-server-13f6415ba0a8ca76d1a2cbb3d0ea199361295f1b.tar.gz trackermap-server-13f6415ba0a8ca76d1a2cbb3d0ea199361295f1b.tar.bz2 trackermap-server-13f6415ba0a8ca76d1a2cbb3d0ea199361295f1b.zip |
Minor formatting change
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/traccar/protocol/AutoTrackProtocolDecoder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/AutoTrackProtocolDecoder.java b/src/main/java/org/traccar/protocol/AutoTrackProtocolDecoder.java index c072e55d0..938d170e6 100644 --- a/src/main/java/org/traccar/protocol/AutoTrackProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/AutoTrackProtocolDecoder.java @@ -101,10 +101,11 @@ public class AutoTrackProtocolDecoder extends BaseProtocolDecoder { int type = buf.readUnsignedByte(); buf.readUnsignedShortLE(); // length + DeviceSession deviceSession; switch (type) { case MSG_LOGIN_REQUEST: String imei = ByteBufUtil.hexDump(buf.readSlice(8)); - DeviceSession deviceSession = getDeviceSession(channel, remoteAddress, imei); + deviceSession = getDeviceSession(channel, remoteAddress, imei); if (deviceSession == null) { return null; } |