]> Sergey Matveev's repositories - btrtrc.git/commitdiff
TODO
authorMatt Joiner <anacrolix@gmail.com>
Thu, 28 Jan 2016 02:04:25 +0000 (13:04 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Thu, 28 Jan 2016 02:04:25 +0000 (13:04 +1100)
client.go

index 912bc5912ef4a25746dd5721bacad627387628bf..27b3593a229fd04601373356fef35e07dec6ea60 100644 (file)
--- a/client.go
+++ b/client.go
@@ -250,6 +250,7 @@ func (cl *Client) WriteStatus(_w io.Writer) {
        }
 }
 
+// TODO: Make this non-blocking Read on Torrent.
 func dataReadAt(d Data, b []byte, off int64) (n int, err error) {
        // defer func() {
        //      if err == io.ErrUnexpectedEOF && n != 0 {