diff options
| author | pp <pp@455248ca-bdda-0310-9134-f4ebb693071a> | 2007-02-08 07:51:11 +0000 |
|---|---|---|
| committer | pp <pp@455248ca-bdda-0310-9134-f4ebb693071a> | 2007-02-08 07:51:11 +0000 |
| commit | f05e533f206e5ac5f51c606d6e034bbff9187392 (patch) | |
| tree | 82a5f4ce113b1f1b1ed92fad3c75c2f794ad7d08 | |
| parent | 1c92fb22b404f1bbed9852d5b64fec98a85b515d (diff) | |
- 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
| -rw-r--r-- | dbxrecover.d | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
