- don't compare file offsets when testing if chunks are different

pp [2007-02-08 07:51:11]
- 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
Filename
dbxrecover.d
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;
 	}
ViewGit