]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/mime/multipart/multipart.factor
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places...
[factor.git] / basis / mime / multipart / multipart.factor
index 0cf7556bcd01513f23472bd3f5082cca7bb969c8..1d56c59fc0ee28d74ecb897abccc0973b7e0abf1 100755 (executable)
@@ -46,7 +46,7 @@ ERROR: end-of-stream multipart ;
     dup bytes>> length 256 < [ fill-bytes ] when ;
 
 : split-bytes ( bytes separator -- leftover-bytes safe-to-dump )
-    dupd [ length ] bi@ 1- - short cut-slice swap ;
+    dupd [ length ] bi@ 1 - - short cut-slice swap ;
 
 : dump-until-separator ( multipart -- multipart )
     dup