Преглед на файлове

Fix reason_len not defined bug.

Joel Martin преди 15 години
родител
ревизия
028b26f14b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      include/rfb.js

+ 1 - 1
include/rfb.js

@@ -817,7 +817,7 @@ init_msg = function() {
                     if (rQwait("SecurityResult reason", length, 8)) {
                         return false;
                     }
-                    reason = rQshiftStr(reason_len);
+                    reason = rQshiftStr(length);
                     fail(reason);
                 } else {
                     fail("Authentication failed");