From 028b26f14b585da2842e5c5910e93de35e9f0534 Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Thu, 14 Oct 2010 11:07:54 -0500 Subject: [PATCH] Fix reason_len not defined bug. --- include/rfb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rfb.js b/include/rfb.js index e9608042..5a2fd13a 100644 --- a/include/rfb.js +++ b/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");