This commit is contained in:
daiyu 2018-04-24 13:12:34 +08:00
parent 5ad210b7e1
commit 2ba6946f17

View File

@ -675,7 +675,7 @@ Server.prototype._onAnnounce = function (params, cb) {
} }
}) })
function createSwarm() { function createSwarm () {
self.createSwarm(params.info_hash, function (err, swarm) { self.createSwarm(params.info_hash, function (err, swarm) {
if (err) return cb(err) if (err) return cb(err)
announce(swarm) announce(swarm)