src/backup/dynamic_index.rs: use write_all()

This commit is contained in:
Dietmar Maurer 2019-10-25 17:22:41 +02:00
parent 8abd12f1f3
commit cd69d36b45

View File

@ -509,8 +509,8 @@ impl DynamicIndexWriter {
csum.update(digest);
}
self.writer.write(offset_le)?;
self.writer.write(digest)?;
self.writer.write_all(offset_le)?;
self.writer.write_all(digest)?;
Ok(())
}
}