aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorGavriel Fleischer <flocsy@gmail.com>2019-01-13 20:22:05 +0200
committerGavriel Fleischer <flocsy@gmail.com>2019-01-13 20:22:05 +0200
commit70fde7e4a19c9dbcde0a983711cf133e629f54f4 (patch)
tree386d1210de31e2d01eb1d78b342e7f917b0374ff /src/org
parent84dc470751c7cc346a3a434cfe6b1f4ce60c717c (diff)
downloadtrackermap-server-70fde7e4a19c9dbcde0a983711cf133e629f54f4.tar.gz
trackermap-server-70fde7e4a19c9dbcde0a983711cf133e629f54f4.tar.bz2
trackermap-server-70fde7e4a19c9dbcde0a983711cf133e629f54f4.zip
fixed removed unnecessary {}
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/WatchProtocolEncoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/WatchProtocolEncoder.java b/src/org/traccar/protocol/WatchProtocolEncoder.java
index b18aae276..17952e3cd 100644
--- a/src/org/traccar/protocol/WatchProtocolEncoder.java
+++ b/src/org/traccar/protocol/WatchProtocolEncoder.java
@@ -135,7 +135,7 @@ public class WatchProtocolEncoder extends StringProtocolEncoder implements Strin
case Command.TYPE_SET_PHONEBOOK:
return formatCommand(channel, command, "PHB,{%s}", Command.KEY_DATA);
case Command.TYPE_VOICE_MESSAGE:
- return formatCommand(channel, command, "TK,{%s}", getBinaryData(command));
+ return formatCommand(channel, command, "TK,%s", getBinaryData(command));
case Command.TYPE_POSITION_PERIODIC:
return formatCommand(channel, command, "UPLOAD,{%s}", Command.KEY_FREQUENCY);
case Command.TYPE_SET_TIMEZONE: