fix math error that caused resumes to always fail
This commit is contained in:
parent
db79b69aa0
commit
0541f19bea
2 changed files with 3 additions and 2 deletions
|
@ -125,4 +125,4 @@ runLocal runmode runner a = case a of
|
||||||
hSeek h AbsoluteSeek o
|
hSeek h AbsoluteSeek o
|
||||||
L.hPut h b
|
L.hPut h b
|
||||||
sz <- getFileSize dest
|
sz <- getFileSize dest
|
||||||
return (toInteger sz == l)
|
return (toInteger sz == l + o)
|
||||||
|
|
|
@ -6,8 +6,9 @@ Current todo list:
|
||||||
|
|
||||||
* copy --to peer seems to make the remotedaemon buffer the content in
|
* copy --to peer seems to make the remotedaemon buffer the content in
|
||||||
memory, more than I'd expect.
|
memory, more than I'd expect.
|
||||||
|
* There are no error messages when things fail. Need to convert P2P runner
|
||||||
|
from Maybe to Either String.
|
||||||
* update progress logs in remotedaemon send/receive
|
* update progress logs in remotedaemon send/receive
|
||||||
* Resuming an interrupted download fails at the end.
|
|
||||||
* Think about locking some more. What happens if the connection to the peer
|
* Think about locking some more. What happens if the connection to the peer
|
||||||
is dropped while we think we're locking content there from being dropped?
|
is dropped while we think we're locking content there from being dropped?
|
||||||
* merge to master
|
* merge to master
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue