]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Remove log that used missinggo.CryHeard
authorMatt Joiner <anacrolix@gmail.com>
Wed, 21 Nov 2018 06:05:30 +0000 (17:05 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Wed, 21 Nov 2018 06:05:30 +0000 (17:05 +1100)
torrent.go

index 154b83c675f84ac288ef5b42815b41cb648e7839..6a455e1ff4987e61923d4706433626b4dd943dde 100644 (file)
@@ -1516,9 +1516,6 @@ func (t *Torrent) addConnection(c *connection) (err error) {
                if c == nil {
                        return errors.New("don't want conns")
                }
-               if t.cl.config.Debug && missinggo.CryHeard() {
-                       log.Printf("%s: dropping connection to make room for new one:\n    %v", t, c)
-               }
                c.Close()
                t.deleteConnection(c)
        }