aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-09-25 22:16:02 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2014-09-25 22:16:02 +1200
commit6f4411382458a9728fee8638f90f64a2590d9f5d (patch)
treef7f8503309e8a828b57dc7455fa4e8124e806f44 /src
parent404c296fe5833641b11fed2443d4bb94e7411207 (diff)
downloadtraccar-server-6f4411382458a9728fee8638f90f64a2590d9f5d.tar.gz
traccar-server-6f4411382458a9728fee8638f90f64a2590d9f5d.tar.bz2
traccar-server-6f4411382458a9728fee8638f90f64a2590d9f5d.zip
Acknowledge all messages
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/WialonProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/WialonProtocolDecoder.java b/src/org/traccar/protocol/WialonProtocolDecoder.java
index db9f7b1f6..6ca02ae42 100644
--- a/src/org/traccar/protocol/WialonProtocolDecoder.java
+++ b/src/org/traccar/protocol/WialonProtocolDecoder.java
@@ -176,7 +176,7 @@ public class WialonProtocolDecoder extends BaseProtocolDecoder {
}
if (!positions.isEmpty()) {
- sendResponse(channel, "#AB#", positions.size());
+ sendResponse(channel, "#AB#", messages.length);
return positions;
}
}