]> Sergey Matveev's repositories - btrtrc.git/blobdiff - cmd/torrent-pick/main.go
Refactorings
[btrtrc.git] / cmd / torrent-pick / main.go
index f02ea8e7cc69656b9e422c9da4b28e10a8a671d1..928f11f4df00d16b0f7832c1e8ae7ac69e2ead54 100644 (file)
@@ -134,7 +134,7 @@ func main() {
 
        done := make(chan struct{})
        for _, arg := range posArgs {
-               t := func() torrent.Download {
+               t := func() torrent.Torrent {
                        if strings.HasPrefix(arg, "magnet:") {
                                t, err := client.AddMagnet(arg)
                                if err != nil {