aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Server.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2012-03-29 05:05:36 +0000
committerAnton Tananaev <anton.tananaev@gmail.com>2012-03-29 05:05:36 +0000
commit932111062285ffdbb8f22a9c25e4946c893a6e71 (patch)
treeacf53913735aa661db12dd1f18e73a634606818c /src/org/traccar/Server.java
parentd0de5245574e223384d9e89421850af16fb7a848 (diff)
downloadtrackermap-server-932111062285ffdbb8f22a9c25e4946c893a6e71.tar.gz
trackermap-server-932111062285ffdbb8f22a9c25e4946c893a6e71.tar.bz2
trackermap-server-932111062285ffdbb8f22a9c25e4946c893a6e71.zip
Diffstat (limited to 'src/org/traccar/Server.java')
-rw-r--r--src/org/traccar/Server.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/Server.java b/src/org/traccar/Server.java
index 9f6d326c9..16c26b6d6 100644
--- a/src/org/traccar/Server.java
+++ b/src/org/traccar/Server.java
@@ -624,7 +624,7 @@ public class Server implements DataManager {
if (serverCreator.isLoggerEnabled()) {
pipeline.addLast("logger", new LoggingHandler("logger"));
}
- byte delimiter[] = { (byte) '$', (byte) '$' }; // probably use \r\n
+ byte delimiter[] = { (byte) '\r', (byte) '\n' };
pipeline.addLast("frameDecoder",
new DelimiterBasedFrameDecoder(1024, ChannelBuffers.wrappedBuffer(delimiter)));
pipeline.addLast("stringDecoder", new StringDecoder());