Always include ID marker in repeater protocol

This makes sure we're always following the protocol, and the caller
doesn't have to care about the details.
This commit is contained in:
Pierre Ossman
2017-10-14 13:02:40 +02:00
parent facf0b7027
commit ebf1c0f991
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -732,7 +732,7 @@ RFB.prototype = {
}
if (is_repeater) {
var repeaterID = this._repeaterID;
var repeaterID = "ID:" + this._repeaterID;
while (repeaterID.length < 250) {
repeaterID += "\0";
}