Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adhere to padded-blocks #400

Merged
merged 1 commit into from Aug 14, 2015
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -254,7 +254,6 @@ function runCreate (input) {
var client, href, playerName, server, serving

function runDownload (torrentId) {

if (!argv.out && !argv.stdout && !playerName) {
argv.out = process.cwd()
}
@@ -169,7 +169,6 @@ WebTorrent.prototype.download = function (torrentId, opts, ontorrent) {
if (torrent) {
if (torrent.ready) process.nextTick(_ontorrent)
else torrent.on('ready', _ontorrent)

} else {
torrent = new Torrent(torrentId, opts)
self.torrents.push(torrent)
@@ -529,7 +529,6 @@ Torrent.prototype._onWire = function (wire, addr) {

// If peer supports DHT, send PORT message to report DHT listening port
if (wire.peerExtensions.dht && self.client.dht && self.client.dht.listening) {

// When peer sends PORT, add them to the routing table
wire.on('port', function (port) {
if (!wire.remoteAddress) {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.