]> wimlib.net Git - wimlib/blobdiff - src/template.c
Warn rather than abort if SHA-1 is same but size is different
[wimlib] / src / template.c
index e5413e5fafa8c607ab50a942b17bdde45c41f847..1c018df7db28f4ac678582e718c729480732d4d3 100644 (file)
@@ -114,7 +114,8 @@ inode_copy_checksums(struct wim_inode *inode,
 
                back_ptr = retrieve_pointer_to_unhashed_blob(blob);
                copy_hash(blob->hash, template_blob->hash);
-               if (after_blob_hashed(blob, back_ptr, blob_table) != blob)
+               if (after_blob_hashed(blob, back_ptr, blob_table,
+                                     inode) != blob)
                        free_blob_descriptor(blob);
        }
 }