aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-09-26 19:19:22 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2014-09-26 19:19:22 +1200
commit9c48f04dca57bfff84bea4000ec2bf93e228b7a3 (patch)
treefdbdb8306e10e728ffb3427a9d16f29ac2396c91 /src
parent1967d118a8132b68b14ea5ed4a4d65700f2c1a87 (diff)
downloadtraccar-server-9c48f04dca57bfff84bea4000ec2bf93e228b7a3.tar.gz
traccar-server-9c48f04dca57bfff84bea4000ec2bf93e228b7a3.tar.bz2
traccar-server-9c48f04dca57bfff84bea4000ec2bf93e228b7a3.zip
Fix Wialon acknowledgement
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 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;
}
}