From 7f303707d5bc43dba1d4b6cb9baa082cd40cf1cb Mon Sep 17 00:00:00 2001 From: isaacs Date: Mon, 18 Feb 2013 18:26:29 -0800 Subject: [PATCH] test: Fix regression in tls test Undefined reference, introduced by a77c29a. --- test/simple/test-tls-over-http-tunnel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/simple/test-tls-over-http-tunnel.js b/test/simple/test-tls-over-http-tunnel.js index 4cb0a525de..9fa82ae3ee 100644 --- a/test/simple/test-tls-over-http-tunnel.js +++ b/test/simple/test-tls-over-http-tunnel.js @@ -162,7 +162,7 @@ proxy.listen(proxyPort, function() { proxy.close(); server.close(); }); - }).on('error', function() { + }).on('error', function(er) { // We're ok with getting ECONNRESET in this test, but it's // timing-dependent, and thus unreliable. Any other errors // are just failures, though.