diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-20 10:35:27 +0400 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-20 10:35:27 +0400 |
commit | a3412e9cca5baf09859d7e5bbfe660d68716f7c7 (patch) | |
tree | 940c5c5316778838a8dbc91e5d3612a1eb9572fe /src/org/traccar/protocol/AnytrekProtocolDecoder.java | |
parent | f3563488df041d84b06265dbf792774e2bab4637 (diff) | |
download | traccar-server-a3412e9cca5baf09859d7e5bbfe660d68716f7c7.tar.gz traccar-server-a3412e9cca5baf09859d7e5bbfe660d68716f7c7.tar.bz2 traccar-server-a3412e9cca5baf09859d7e5bbfe660d68716f7c7.zip |
Fix some Java issues
Diffstat (limited to 'src/org/traccar/protocol/AnytrekProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/AnytrekProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/AnytrekProtocolDecoder.java b/src/org/traccar/protocol/AnytrekProtocolDecoder.java index 7665e6cfd..c48f59c90 100644 --- a/src/org/traccar/protocol/AnytrekProtocolDecoder.java +++ b/src/org/traccar/protocol/AnytrekProtocolDecoder.java @@ -48,7 +48,7 @@ public class AnytrekProtocolDecoder extends BaseProtocolDecoder { response.writeShortLE(0); // checksum response.writeByte('\r'); response.writeByte('\n'); - channel.writeAndFlush(new NetworkMessage(response, channel.remoteAddress())); + channel.writeAndFlush(new NetworkMessage(response, remoteAddress)); } } |