src/catar/encoder.rs: fix bug in file copy

This commit is contained in:
Dietmar Maurer committed 2018-12-28 15:02:42 +01:00
1 parent d05f93215e
commit f0f3029e26
1 file changed
+1 -1
+1 -1
View File
@@ -297,7 +297,7 @@ impl <W: Write> CaTarEncoder<W> {
self.flush_copy_buffer(count)?;
pos += next;
pos = next;
if pos >= size { break; }
}