diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-11-09 20:48:39 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-11-09 20:48:39 +1300 |
commit | fa260aad4a99772e1b116474dd702849f6ee5727 (patch) | |
tree | 2d2f2b79002697177e6f45c006a4737b23e01385 /src/org/traccar/ServerManager.java | |
parent | f65d8164e673c5a1e2aa4d02aee8e269b19c4900 (diff) | |
download | trackermap-server-fa260aad4a99772e1b116474dd702849f6ee5727.tar.gz trackermap-server-fa260aad4a99772e1b116474dd702849f6ee5727.tar.bz2 trackermap-server-fa260aad4a99772e1b116474dd702849f6ee5727.zip |
Update gl100 and gl200
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 daa2981b6..56a5a1c08 100644 --- a/src/org/traccar/ServerManager.java +++ b/src/org/traccar/ServerManager.java @@ -260,7 +260,7 @@ public class ServerManager { serverList.add(new TrackerServer(this, new ServerBootstrap(), protocol) { @Override protected void addSpecificHandlers(ChannelPipeline pipeline) { - byte delimiter[] = { (byte) 0x0 }; + byte delimiter[] = { (byte) '\0' }; pipeline.addLast("frameDecoder", new DelimiterBasedFrameDecoder(1024, ChannelBuffers.wrappedBuffer(delimiter))); pipeline.addLast("stringDecoder", new StringDecoder()); |