This commit is contained in:
Feross Aboukhadijeh
2016-03-04 16:00:16 -08:00
parent 7a7656671e
commit 5f02b73616
2 changed files with 11 additions and 3 deletions

View File

@@ -13,6 +13,7 @@ function torrentPoster (torrent, cb) {
.reduce(function (a, b) {
return a.length > b.length ? a : b
})
var index = torrent.files.indexOf(file)
var server = torrent.createServer(0)