From 7b037cd0244509874bb942c3d3e06f61bd078465 Mon Sep 17 00:00:00 2001
From: Matt Joiner <anacrolix@gmail.com>
Date: Fri, 2 Feb 2018 13:34:35 +1100
Subject: [PATCH] Missed sendChunk invocation change

---
 connection.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/connection.go b/connection.go
index 426e202f..3165e46f 100644
--- a/connection.go
+++ b/connection.go
@@ -1173,7 +1173,7 @@ another:
 				// Hard to say what to return here.
 				return true
 			}
-			more, err := cl.sendChunk(t, c, r, msg)
+			more, err := c.sendChunk(r, msg)
 			if err != nil {
 				i := int(r.Index)
 				if t.pieceComplete(i) {
-- 
2.51.0