Fix undeclared variable

Noah Zalev committed Jun 21, 2021 at 23:36 UTC 274221c424d65cb26e7d5c449b9326b1043a84d8
1 file changed +1 -1
amt/amt-redir-mesh.js
+1 -1
@@ -327,7 +327,7 @@ module.exports.CreateAmtRedirect = function (module, domain, user, webserver, me
327 var status = obj.amtaccumulator.charCodeAt(1);
328 var authType = obj.amtaccumulator.charCodeAt(4);
329 var authData = [];
330 - for (i = 0; i < authDataLen; i++) { authData.push(obj.amtaccumulator.charCodeAt(9 + i)); }
330 + for (var i = 0; i < authDataLen; i++) { authData.push(obj.amtaccumulator.charCodeAt(9 + i)); }
331 var authDataBuf = obj.amtaccumulator.substring(9, 9 + authDataLen);
332 cmdsize = 9 + authDataLen;
333 if (authType == 0) {