summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyo Ota <nwtgck@nwtgck.org>2023-04-30 02:04:00 +0900
committerGitHub <noreply@github.com>2023-04-30 02:04:00 +0900
commit2a675b33948f2b07f84321146fe5bbd9780e024b (patch)
tree81952874ef37e183b38cb53c3bbe9d354a62d233
parent747603c0d5bbdc8ac31b81f7a1b31291a397d280 (diff)
downloadnovnc-2a675b33948f2b07f84321146fe5bbd9780e024b.tar.gz
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