]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Only the first tracker was being tried
authorMatt Joiner <anacrolix@gmail.com>
Fri, 27 Mar 2015 06:20:02 +0000 (17:20 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Fri, 27 Mar 2015 06:20:02 +0000 (17:20 +1100)
Must have lost this in the client tracker clean-up a while back.

client.go

index 430cb54218714c11a8c36b2f47f51453960b693d..16ded0d795a5d8cbd60bc6506f02152e5e4881d2 100644 (file)
--- a/client.go
+++ b/client.go
@@ -2541,6 +2541,7 @@ newAnnounce:
                                err := cl.announceTorrentSingleTracker(tr, &req, t)
                                if err != nil {
                                        logonce.Stderr.Printf("%s: error announcing to %s: %s", t, tr, err)
+                                       continue
                                }
                                // Float the successful announce to the top of the tier. If
                                // the trackers list has been changed, we'll be modifying an