DecompressFileToBlob: don't assume success if decompression failed
This commit is contained in:
parent
24be8c0814
commit
30e0f3d9ca
|
@ -405,7 +405,7 @@ bool DecompressBlobToFile(const std::string& infile_path, const std::string& out
|
||||||
outfile.Resize(header.data_size);
|
outfile.Resize(header.data_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return success;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool IsGCZBlob(File::IOFile& file)
|
bool IsGCZBlob(File::IOFile& file)
|
||||||
|
|
Loading…
Reference in New Issue