Remove log that used missinggo.CryHeard
This commit is contained in:
parent
58d9718ea8
commit
9bb8a327c0
|
@ -1516,9 +1516,6 @@ func (t *Torrent) addConnection(c *connection) (err error) {
|
||||||
if c == nil {
|
if c == nil {
|
||||||
return errors.New("don't want conns")
|
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()
|
c.Close()
|
||||||
t.deleteConnection(c)
|
t.deleteConnection(c)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue