Browse Source

Merge pull request #402 from julien-f/patch-1

Fix subprotocols
Samuel 11 years ago
parent
commit
e2f1ff8048
1 changed files with 1 additions and 1 deletions
  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;
             uri += '://' + this._rfb_host + ':' + this._rfb_port + '/' + this._rfb_path;
             Util.Info("connecting to " + uri);
             Util.Info("connecting to " + uri);
 
 
-            this._sock.open(uri, this._sockProtocols);
+            this._sock.open(uri, this._wsProtocols);
 
 
             Util.Debug("<< RFB.connect");
             Util.Debug("<< RFB.connect");
         },
         },