diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-12-07 15:36:39 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-12-07 15:36:39 -0400 |
commit | 5c8851678fef29be0b3dcf0451107b589b188264 (patch) | |
tree | 1e3046ddb61246232a278b6a8653fb8c33b93212 /P2P | |
parent | d467f482d43ed0e9a8068e6df3bff1acaffb087f (diff) |
fix math error that caused resumes to always fail
Diffstat (limited to 'P2P')
-rw-r--r-- | P2P/Annex.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/P2P/Annex.hs b/P2P/Annex.hs index 1ef54de1d..7e07038d3 100644 --- a/P2P/Annex.hs +++ b/P2P/Annex.hs @@ -125,4 +125,4 @@ runLocal runmode runner a = case a of hSeek h AbsoluteSeek o L.hPut h b sz <- getFileSize dest - return (toInteger sz == l) + return (toInteger sz == l + o) |