From f721d02c8a356c1a9a40d8bf7099186749f01978 Mon Sep 17 00:00:00 2001 From: Shigeki Ohtsu Date: Mon, 28 May 2012 15:36:04 +0900 Subject: [PATCH] http: fix duplicated variable declaration --- lib/http.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/http.js b/lib/http.js index a98a3104cde..42d72bcb1cf 100644 --- a/lib/http.js +++ b/lib/http.js @@ -1284,7 +1284,6 @@ function socketCloseListener() { var parser = socket.parser; var req = socket._httpMessage; debug('HTTP socket close'); - var req = socket._httpMessage; req.emit('close'); if (req.res && req.res.readable) { // Socket closed before we emitted 'end' below.