summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel <samuel@cendio.se>2014-10-01 16:46:35 +0200
committerSamuel <samuel@cendio.se>2014-10-01 16:46:35 +0200
commite2f1ff8048da29a654e21c9e1fcea36bd3c512b0 (patch)
tree730e77891f18fcccae27c1c5e0749c7fccdc591a
parent3257d9f26535dee47cf21c8811e2c627c9dc72c3 (diff)
parent58ca1978eacdb030233b5f7351cc1b063da289ee (diff)
downloadnovnc-e2f1ff8048da29a654e21c9e1fcea36bd3c512b0.tar.gz
Merge pull request #402 from julien-f/patch-1
Fix subprotocols
-rw-r--r--include/rfb.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rfb.js b/include/rfb.js
index ffa6602..0afe656 100644
--- a/include/rfb.js
+++ b/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");
},