]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Missed sendChunk invocation change
authorMatt Joiner <anacrolix@gmail.com>
Fri, 2 Feb 2018 02:34:35 +0000 (13:34 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Fri, 2 Feb 2018 02:34:35 +0000 (13:34 +1100)
connection.go

index 426e202ff245dfda93b20ebb361022022fc5c465..3165e46ffa30daf874bc51c1e15f6a711b6942cb 100644 (file)
@@ -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) {