From f05e533f206e5ac5f51c606d6e034bbff9187392 Mon Sep 17 00:00:00 2001 From: pp Date: Thu, 8 Feb 2007 07:51:11 +0000 Subject: - 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 --- dbxrecover.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '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; } -- cgit v1.2.3