aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 6ca02ae42..93e32ced0 100644
--- a/src/org/traccar/protocol/WialonProtocolDecoder.java
+++ b/src/org/traccar/protocol/WialonProtocolDecoder.java
@@ -175,8 +175,8 @@ public class WialonProtocolDecoder extends BaseProtocolDecoder {
}
}
+ sendResponse(channel, "#AB#", messages.length);
if (!positions.isEmpty()) {
- sendResponse(channel, "#AB#", messages.length);
return positions;
}
}