From e4d413d83b918519d67dc91818de3c5690f774b3 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Sun, 24 May 2015 16:43:30 +0200 Subject: [PATCH] fix regression: convert buffer to string --- client.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client.js b/client.js index 7d4e004..18587a9 100644 --- a/client.js +++ b/client.js @@ -69,6 +69,7 @@ function Client (peerId, port, torrent, opts) { self._trackers = announce .map(function (announceUrl) { + announceUrl = announceUrl.toString() var protocol = url.parse(announceUrl).protocol if ((protocol === 'http:' || protocol === 'https:') &&