diff options
-rw-r--r-- | src/org/traccar/protocol/MeiligaoProtocolDecoder.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java index aee6f8e1c..c1b75d00f 100644 --- a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java +++ b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java @@ -141,16 +141,16 @@ public class MeiligaoProtocolDecoder extends BaseProtocolDecoder { case MSG_LOGIN: response = ChannelBuffers.wrappedBuffer(new byte[] {0x01}); sendResponse(channel, id, MSG_LOGIN_RESPONSE, response); - break; + return null; case MSG_HEARTBEAT: response = ChannelBuffers.wrappedBuffer(new byte[] {0x01}); sendResponse(channel, id, MSG_HEARTBEAT, response); - break; + return null; case MSG_SERVER: response = ChannelBuffers.copiedBuffer( getMeiligaoServer(channel), Charset.defaultCharset()); sendResponse(channel, id, MSG_SERVER, response); - break; + return null; case MSG_POSITION: case MSG_POSITION_LOGGED: case MSG_ALARM: |