src/backup/dynamic_index.rs: use write_all()
This commit is contained in:
parent
8abd12f1f3
commit
cd69d36b45
@ -509,8 +509,8 @@ impl DynamicIndexWriter {
|
|||||||
csum.update(digest);
|
csum.update(digest);
|
||||||
}
|
}
|
||||||
|
|
||||||
self.writer.write(offset_le)?;
|
self.writer.write_all(offset_le)?;
|
||||||
self.writer.write(digest)?;
|
self.writer.write_all(digest)?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user