From b00d441859831fe52a4e3cf35b89d4abad8a37d1 Mon Sep 17 00:00:00 2001 From: Stephen Vickers Date: Mon, 7 Dec 2020 10:41:26 +0000 Subject: [PATCH] #77 Add missing var in for look --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 5f12059..39a7cc0 100644 --- a/index.js +++ b/index.js @@ -123,7 +123,7 @@ Session.prototype._debugResponse = function (source, buffer) { } Session.prototype.flush = function (error) { - for (id in this.reqs) { + for (var id in this.reqs) { var req = this.reqRemove (id); var sent = req.sent ? req.sent : new Date (); req.callback (error, req.target, sent, new Date ());