Fix incorrect state change for ClientCutText.

This commit is contained in:
Simo Kinnunen
2015-09-14 14:40:19 +09:00
parent f7d1b07d1c
commit 8a5f0551a7

View File

@@ -289,7 +289,7 @@ VncConnection.prototype._read = function() {
if ((chunk = this._consume(7))) {
// [0b, 3b) padding
this._clientCutTextLength = chunk.readUInt32BE(3)
this._changeState(VncConnection.STATE_NEED_CLIENT_MESSAGE_CLIENTCUTTEXT_STRING)
this._changeState(VncConnection.STATE_NEED_CLIENT_MESSAGE_CLIENTCUTTEXT_VALUE)
}
break
case VncConnection.STATE_NEED_CLIENT_MESSAGE_CLIENTCUTTEXT_VALUE: