Fix to "Tolerate fragmented ServerInit".

Issue #39: https://github.com/kanaka/noVNC/issues/issue/39
This commit is contained in:
Joel Martin 2010-12-24 17:39:13 -07:00
parent 318d473438
commit fce6ac5cb4
1 changed files with 1 additions and 1 deletions

View File

@ -815,7 +815,7 @@ init_msg = function() {
break;
case 'SecurityResult' :
if (rQwait("VNC auth response ", 24)) { return false; }
if (rQwait("VNC auth response ", 4)) { return false; }
switch (rQshift32()) {
case 0: // OK
// Fall through to ClientInitialisation