src/backup/chunker.rs: start() - correctly store hash in self.h

This commit is contained in:
Dietmar Maurer 2019-02-19 12:40:12 +01:00
parent cd1598302a
commit c584aa21fd
1 changed files with 1 additions and 0 deletions

View File

@ -228,6 +228,7 @@ impl Chunker {
let byte = self.window[i]; let byte = self.window[i];
h = h.rotate_left(1) ^ BUZHASH_TABLE[byte as usize]; h = h.rotate_left(1) ^ BUZHASH_TABLE[byte as usize];
} }
self.h = h;
} }
} }