Fix subprotocols

Broken by b1dee94788
This commit is contained in:
Julien Fontanet
2014-10-01 16:30:39 +02:00
parent 3257d9f265
commit 58ca1978ea

View File

@@ -316,7 +316,7 @@ var RFB;
uri += '://' + this._rfb_host + ':' + this._rfb_port + '/' + this._rfb_path;
Util.Info("connecting to " + uri);
this._sock.open(uri, this._sockProtocols);
this._sock.open(uri, this._wsProtocols);
Util.Debug("<< RFB.connect");
},