Skip to content

Commit 9a7c715

Browse files
Niedzwiedzwotavio
authored andcommitted
fixes partial unfinished archive reads
1 parent 615e545 commit 9a7c715

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ where
619619
}
620620

621621
if size == 0 {
622-
return Ok(written);
622+
continue;
623623
}
624624

625625
let content = slice::from_raw_parts(buffer as *const u8, size);

0 commit comments

Comments
 (0)