1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 10:39:25 +02:00

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))) { if ((chunk = this._consume(7))) {
// [0b, 3b) padding // [0b, 3b) padding
this._clientCutTextLength = chunk.readUInt32BE(3) this._clientCutTextLength = chunk.readUInt32BE(3)
this._changeState(VncConnection.STATE_NEED_CLIENT_MESSAGE_CLIENTCUTTEXT_STRING) this._changeState(VncConnection.STATE_NEED_CLIENT_MESSAGE_CLIENTCUTTEXT_VALUE)
} }
break break
case VncConnection.STATE_NEED_CLIENT_MESSAGE_CLIENTCUTTEXT_VALUE: case VncConnection.STATE_NEED_CLIENT_MESSAGE_CLIENTCUTTEXT_VALUE: