src/backup/data_blob.rs - DataBlobWriter: fix magic number for uncompressed blobs
This commit is contained in:
parent
5622a3fcdb
commit
18be4ec24a
@ -497,7 +497,7 @@ impl <'a, W: Write + Seek> DataBlobWriter<'a, W> {
|
||||
BlobWriterState::Uncompressed { csum_writer } => {
|
||||
// write CRC
|
||||
let (mut writer, crc, _) = csum_writer.finish()?;
|
||||
let head = DataBlobHeader { magic: COMPRESSED_BLOB_MAGIC_1_0, crc: crc.to_le_bytes() };
|
||||
let head = DataBlobHeader { magic: UNCOMPRESSED_BLOB_MAGIC_1_0, crc: crc.to_le_bytes() };
|
||||
|
||||
writer.seek(SeekFrom::Start(0))?;
|
||||
unsafe {
|
||||
|
Loading…
Reference in New Issue
Block a user