Make cmd/tracker-announce output a bit easier to consume
This commit is contained in:
parent
b2d2c524c6
commit
dfb7f5b00c
@ -6,6 +6,8 @@ import (
|
||||
"math"
|
||||
"strings"
|
||||
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
|
||||
"github.com/anacrolix/torrent"
|
||||
"github.com/anacrolix/torrent/metainfo"
|
||||
"github.com/anacrolix/torrent/tracker"
|
||||
@ -42,7 +44,7 @@ func main() {
|
||||
log.Print(err)
|
||||
continue
|
||||
}
|
||||
log.Printf("%q: %#v", tURI, resp)
|
||||
log.Printf("%q: %s", tURI, spew.Sdump(resp))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user