From 49a3c87a533b2d29ec13e655436a4790267429df Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Mon, 4 Apr 2016 20:39:57 +1000 Subject: [PATCH] Fix possible deadlock --- torrent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torrent.go b/torrent.go index 4e0082a6..12c365d6 100644 --- a/torrent.go +++ b/torrent.go @@ -459,7 +459,7 @@ func (t *Torrent) writeStatus(w io.Writer, cl *Client) { } func (t *Torrent) String() string { - s := t.Name() + s := t.name() if s == "" { s = fmt.Sprintf("%x", t.infoHash) } -- 2.48.1