diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-05-19 00:37:00 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-05-19 00:37:00 +1200 |
commit | 05c7db487f3744f6abe348426c44fc708b252428 (patch) | |
tree | 028b162dbe0285afc5dd4e5c875c24e0a63af7bc /src/org/traccar/ServerManager.java | |
parent | b3d221372103a677002428a57686b61e3facf32c (diff) | |
download | traccar-server-05c7db487f3744f6abe348426c44fc708b252428.tar.gz traccar-server-05c7db487f3744f6abe348426c44fc708b252428.tar.bz2 traccar-server-05c7db487f3744f6abe348426c44fc708b252428.zip |
Improve V680 decoder
Diffstat (limited to 'src/org/traccar/ServerManager.java')
-rw-r--r-- | src/org/traccar/ServerManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/ServerManager.java b/src/org/traccar/ServerManager.java index 971859099..62de6bf0b 100644 --- a/src/org/traccar/ServerManager.java +++ b/src/org/traccar/ServerManager.java @@ -488,7 +488,7 @@ public class ServerManager { serverList.add(new TrackerServer(this, new ServerBootstrap(), protocol) { @Override protected void addSpecificHandlers(ChannelPipeline pipeline) { - byte delimiter[] = { (byte) '#', (byte) '#', (byte) '#' }; + byte delimiter[] = { (byte) '#', (byte) '#' }; pipeline.addLast("frameDecoder", new DelimiterBasedFrameDecoder(1024, ChannelBuffers.wrappedBuffer(delimiter))); pipeline.addLast("stringDecoder", new StringDecoder()); |