aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-03-03 21:47:30 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-03-03 21:47:30 +1300
commit4e3a90ca42dfd3871c92d06e769b988002f4f0bb (patch)
tree3921e50ce8f2d2816907bfc5f7a8d48538bb75d1 /src/org
parentf2e3a4e9d299e03c6afd45c0850871a150e23649 (diff)
downloadtrackermap-server-4e3a90ca42dfd3871c92d06e769b988002f4f0bb.tar.gz
trackermap-server-4e3a90ca42dfd3871c92d06e769b988002f4f0bb.tar.bz2
trackermap-server-4e3a90ca42dfd3871c92d06e769b988002f4f0bb.zip
Handle line break in Taip (fix #1106)
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/SyrusProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/SyrusProtocolDecoder.java b/src/org/traccar/protocol/SyrusProtocolDecoder.java
index 72347ac03..ee11b35ef 100644
--- a/src/org/traccar/protocol/SyrusProtocolDecoder.java
+++ b/src/org/traccar/protocol/SyrusProtocolDecoder.java
@@ -53,7 +53,7 @@ public class SyrusProtocolDecoder extends BaseProtocolDecoder {
"(\\d{3})" + // Course
"\\d" + // Fix mode
"(\\d)" + // Fix age
- ".*");
+ ".*\r?\n?");
private Date getTime(long week, long day, long seconds) {
Calendar time = Calendar.getInstance(TimeZone.getTimeZone("UTC"));