- don't compare file offsets when testing if chunks are different
- don't compare file offsets when testing if chunks are different
git-svn-id: https://siedziba.pl:790/svn/repos/dbxrecover@274 455248ca-bdda-0310-9134-f4ebb693071a
diff --git a/dbxrecover.d b/dbxrecover.d
index 2a3292e..f3226e6 100644
--- a/dbxrecover.d
+++ b/dbxrecover.d
@@ -29,7 +29,7 @@ class Chunk
{
static bool differ(ChunkInfo info1, ChunkInfo info2, Stream s)
{
- if (memcmp(&info1, &info2, ChunkInfo.sizeof) !=0) return true;
+ if (memcmp(&info1, &info2, 8) !=0) return true;
if (data(info1, s) != data(info2, s)) return true;
return false;
}