aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/ServerManager.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-05-19 00:37:00 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2013-05-19 00:37:00 +1200
commit05c7db487f3744f6abe348426c44fc708b252428 (patch)
tree028b162dbe0285afc5dd4e5c875c24e0a63af7bc /src/org/traccar/ServerManager.java
parentb3d221372103a677002428a57686b61e3facf32c (diff)
downloadtrackermap-server-05c7db487f3744f6abe348426c44fc708b252428.tar.gz
trackermap-server-05c7db487f3744f6abe348426c44fc708b252428.tar.bz2
trackermap-server-05c7db487f3744f6abe348426c44fc708b252428.zip
Improve V680 decoder
Diffstat (limited to 'src/org/traccar/ServerManager.java')
-rw-r--r--src/org/traccar/ServerManager.java2
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());