aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;
}
}