From: Matt Joiner <anacrolix@gmail.com>
Date: Fri, 26 May 2017 02:58:23 +0000 (+1000)
Subject: perf.Timer.Stop renamed
X-Git-Tag: v1.0.0~470
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=5bde8de95d0709ff88c6ac2fc2a2b8a6af0240c0;p=btrtrc.git

perf.Timer.Stop renamed
---

diff --git a/torrent.go b/torrent.go
index ba350025..4db2eb31 100644
--- a/torrent.go
+++ b/torrent.go
@@ -576,7 +576,7 @@ func (t *Torrent) writeChunk(piece int, begin int64, data []byte) (err error) {
 		err = io.ErrShortWrite
 	}
 	if err == nil {
-		tr.Stop("write chunk")
+		tr.Mark("write chunk")
 	}
 	return
 }