]> Sergey Matveev's repositories - btrtrc.git/blobdiff - cmd/torrent/announce.go
Default to announcing as leecher
[btrtrc.git] / cmd / torrent / announce.go
index f48dfd2acfbd22b85461fd94d987d0f043eb072a..31676d9a10f77e81f4c4e81a8642e2c017776540 100644 (file)
@@ -23,6 +23,7 @@ func announceErr(flags AnnounceCmd) error {
                Port:     uint16(torrent.NewDefaultClientConfig().ListenPort),
                NumWant:  -1,
                Event:    flags.Event,
+               Left:     -1,
        }
        if flags.Port != nil {
                req.Port = *flags.Port