This commit is contained in:
Matt Joiner 2016-01-28 13:04:25 +11:00
parent ae9bba2611
commit 84c34e2c37
1 changed files with 1 additions and 0 deletions

View File

@ -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 {