summaryrefslogtreecommitdiff
path: root/Remote
diff options
context:
space:
mode:
Diffstat (limited to 'Remote')
-rw-r--r--Remote/Directory.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/Directory.hs b/Remote/Directory.hs
index f166c2a0d..737ae6312 100644
--- a/Remote/Directory.hs
+++ b/Remote/Directory.hs
@@ -158,7 +158,7 @@ storeSplit' meterupdate chunksize (d:dests) bs c = do
feed _ [] _ = return []
feed sz (l:ls) h = do
let s = fromIntegral $ S.length l
- if s <= sz
+ if s <= sz || sz == chunksize
then do
S.hPut h l
meterupdate $ toInteger s