_ostree_static_delta_part_validate: Take a stream instead of a file as arg
This is only called in one place, and we have already opened the file there, no need to open it twice.
This commit is contained in:
1 parent
27fcf68e7c
commit
fd6c572c42
3 files changed
+4
-9
No files matched your search
@@ -318,7 +318,7 @@ ostree_repo_static_delta_execute_offline (OstreeRepo *self,
|
||||
if (!skip_validation)
|
||||
{
|
||||
g_autofree char *expected_checksum = ostree_checksum_from_bytes (csum);
|
||||
if (!_ostree_static_delta_part_validate (self, part_path, i,
|
||||
if (!_ostree_static_delta_part_validate (self, in, i,
|
||||
expected_checksum,
|
||||
cancellable, error))
|
||||
goto out;
|
||||
|
||||
Reference in new issue
Block a user