diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2011-11-18 09:09:15 +0000 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2011-11-18 09:09:15 +0000 |
commit | 91a8d2558644293758c93d2c1df21487cd387993 (patch) | |
tree | 6399d1bbd8b522acf8eeb6ebceb88fe04892544b /src/org/traccar/Server.java | |
parent | 710bdd092b193704fabdf6136bd5bffe0d8e01e7 (diff) | |
download | trackermap-server-91a8d2558644293758c93d2c1df21487cd387993.tar.gz trackermap-server-91a8d2558644293758c93d2c1df21487cd387993.tar.bz2 trackermap-server-91a8d2558644293758c93d2c1df21487cd387993.zip |
Diffstat (limited to 'src/org/traccar/Server.java')
-rw-r--r-- | src/org/traccar/Server.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/Server.java b/src/org/traccar/Server.java index c7d52337e..83e18a537 100644 --- a/src/org/traccar/Server.java +++ b/src/org/traccar/Server.java @@ -524,7 +524,7 @@ public class Server implements DataManager { if (serverCreator.isLoggerEnabled()) { pipeline.addLast("logger", new LoggingHandler("logger")); } - byte delimiter[] = { (byte) '\r', (byte) '\n' }; + byte delimiter[] = { (byte) '\n' }; // tracker bug \n\r pipeline.addLast("frameDecoder", new DelimiterBasedFrameDecoder(1024, ChannelBuffers.wrappedBuffer(delimiter))); pipeline.addLast("stringDecoder", new StringDecoder()); |