aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/repository
diff options
context:
space:
mode:
authorEduardo Julian2021-05-30 11:48:28 -0400
committerEduardo Julian2021-05-30 11:48:28 -0400
commit7a2ab85f1c86e7256c5b45672b2fe8f157e35c9a (patch)
treefa2e9f9e0cf1bc286700b3c5a7ce446f62abe4c5 /stdlib/source/program/aedifex/repository
parent6154b0d4a09b96c9092309917a0379d491181c79 (diff)
lux/data/binary.slice now works in the offset+length style.
Diffstat (limited to 'stdlib/source/program/aedifex/repository')
-rw-r--r--stdlib/source/program/aedifex/repository/remote.lux2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/source/program/aedifex/repository/remote.lux b/stdlib/source/program/aedifex/repository/remote.lux
index fd0d65d6f..eb285bb67 100644
--- a/stdlib/source/program/aedifex/repository/remote.lux
+++ b/stdlib/source/program/aedifex/repository/remote.lux
@@ -111,7 +111,7 @@
_ (if (n.= ..buffer_size bytes_read)
(recur (\ binary.monoid compose output buffer))
(do !
- [chunk (\ io.monad wrap (binary.slice 0 (dec (.nat bytes_read)) buffer))]
+ [chunk (\ io.monad wrap (binary.slice 0 (.nat bytes_read) buffer))]
(recur (\ binary.monoid compose output chunk)))))))]
(wrap output)))