summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Mannehed <samuel@cendio.se>2023-04-30 02:36:05 +0200
committerGitHub <noreply@github.com>2023-04-30 02:36:05 +0200
commitcbbd9ab069e384d230c032f51bf4e713ed02766e (patch)
tree81952874ef37e183b38cb53c3bbe9d354a62d233
parent747603c0d5bbdc8ac31b81f7a1b31291a397d280 (diff)
parent2a675b33948f2b07f84321146fe5bbd9780e024b (diff)
downloadnovnc-cbbd9ab069e384d230c032f51bf4e713ed02766e.tar.gz
Merge pull request #1777 from nwtgck/patch-1
fix typo
-rw-r--r--core/websock.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/websock.js b/core/websock.js
index 37b33fc..e07e31b 100644
--- a/core/websock.js
+++ b/core/websock.js
@@ -293,7 +293,7 @@ export default class Websock {
// e.g. compacting.
// The function also expands the receive que if needed, and for
// performance reasons we combine these two actions to avoid
- // unneccessary copying.
+ // unnecessary copying.
_expandCompactRQ(minFit) {
// if we're using less than 1/8th of the buffer even with the incoming bytes, compact in place
// instead of resizing