src/backup/chunker.rs: start() - correctly store hash in self.h
This commit is contained in:
parent
cd1598302a
commit
c584aa21fd
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue