mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2024-12-13 10:56:25 +00:00
fix debug usage
This commit is contained in:
parent
a4605bd67c
commit
d562f14e06
@ -311,7 +311,7 @@ Tracker.prototype._requestUdp = function (requestUrl, opts) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var action = msg.readUInt32BE(0)
|
var action = msg.readUInt32BE(0)
|
||||||
debug(requestUrl, 'UDP response, action', action)
|
debug(requestUrl + ' UDP response, action ' + action)
|
||||||
switch (action) {
|
switch (action) {
|
||||||
case 0: // handshake
|
case 0: // handshake
|
||||||
if (msg.length < 16) {
|
if (msg.length < 16) {
|
||||||
|
Loading…
Reference in New Issue
Block a user