mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2025-02-22 21:29:07 +00:00
Remove semicolons
This commit is contained in:
parent
48baf2bfa6
commit
effd911f21
4
index.js
4
index.js
@ -265,7 +265,7 @@ Tracker.prototype._requestUdp = function (requestUrl, opts) {
|
|||||||
|
|
||||||
function send (message) {
|
function send (message) {
|
||||||
if (!parsedUrl.port) {
|
if (!parsedUrl.port) {
|
||||||
parsedUrl.port = 80;
|
parsedUrl.port = 80
|
||||||
}
|
}
|
||||||
socket.send(message, 0, message.length, parsedUrl.port, parsedUrl.hostname)
|
socket.send(message, 0, message.length, parsedUrl.port, parsedUrl.hostname)
|
||||||
}
|
}
|
||||||
@ -335,7 +335,7 @@ Tracker.prototype._handleResponse = function (requestUrl, data) {
|
|||||||
|
|
||||||
var warning = data['warning message']
|
var warning = data['warning message']
|
||||||
if (warning) {
|
if (warning) {
|
||||||
self.client.emit('warning', warning);
|
self.client.emit('warning', warning)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (requestUrl === self._announceUrl) {
|
if (requestUrl === self._announceUrl) {
|
||||||
|
Loading…
Reference in New Issue
Block a user