Ver código fonte

Fix subprotocols

Broken by b1dee9478815b22bf5fee3ee9e44321d4bb46c91
Julien Fontanet 11 anos atrás
pai
commit
58ca1978ea
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      include/rfb.js

+ 1 - 1
include/rfb.js

@@ -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");
         },