From b079bad35acb66503936a21359f016281e8e1500 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Wed, 26 Nov 2014 20:18:12 +0800 Subject: [PATCH] code style --- client.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client.js b/client.js index f786fb5..2b923d7 100644 --- a/client.js +++ b/client.js @@ -482,9 +482,9 @@ Tracker.prototype._handleResponse = function (requestUrl, data) { incomplete: data.incomplete }) + var addrs if (Buffer.isBuffer(data.peers)) { // tracker returned compact response - var addrs try { addrs = compact2string.multi(data.peers) } catch (err) { @@ -502,7 +502,6 @@ Tracker.prototype._handleResponse = function (requestUrl, data) { if (Buffer.isBuffer(data.peers6)) { // tracker returned compact response - var addrs try { addrs = compact2string.multi6(data.peers6) } catch (err) {