From 274221c424d65cb26e7d5c449b9326b1043a84d8 Mon Sep 17 00:00:00 2001 From: Noah Zalev Date: Mon, 21 Jun 2021 23:36:27 -0400 Subject: [PATCH] Fix undeclared variable --- amt/amt-redir-mesh.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amt/amt-redir-mesh.js b/amt/amt-redir-mesh.js index 3be2dc3e..ae8052e9 100644 --- a/amt/amt-redir-mesh.js +++ b/amt/amt-redir-mesh.js @@ -327,7 +327,7 @@ module.exports.CreateAmtRedirect = function (module, domain, user, webserver, me var status = obj.amtaccumulator.charCodeAt(1); var authType = obj.amtaccumulator.charCodeAt(4); var authData = []; - for (i = 0; i < authDataLen; i++) { authData.push(obj.amtaccumulator.charCodeAt(9 + i)); } + for (var i = 0; i < authDataLen; i++) { authData.push(obj.amtaccumulator.charCodeAt(9 + i)); } var authDataBuf = obj.amtaccumulator.substring(9, 9 + authDataLen); cmdsize = 9 + authDataLen; if (authType == 0) {