]> Sergey Matveev's repositories - btrtrc.git/commit
fs: Fix what looks like a glaring mistake: If Seek failed on the torrent reader,...
authorMatt Joiner <anacrolix@gmail.com>
Sun, 21 Feb 2016 15:44:29 +0000 (02:44 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Sun, 21 Feb 2016 15:44:29 +0000 (02:44 +1100)
commitfd37f5c24b6503dc210b1045f7fa370549795a41
tree4e3b1196b86dede43be0b54b226fd1280372346b
parent5cfa8232edcb27f27cea471ab9caed2d6d645a03
fs: Fix what looks like a glaring mistake: If Seek failed on the torrent reader, it would have got stuck

Since Seek is artificial, and the offsets are usually checked in the caller, it looks like it never failed anyway.
fs/torrentfs.go