mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 00:47:28 +01:00
Fix some hasher methods' effects
This commit is contained in:
1 parent
131732e7eb
commit
dfc8e14f4f
4 files changed
+6
-7
No files matched your search
@@ -55,7 +55,7 @@ pub func decoder.decode?(dst base.io_writer, src base.io_reader)() {
|
||||
in.dst.set_mark!()
|
||||
var z base.status = try this.flate.decode?(dst:in.dst, src:in.src)
|
||||
if not this.ignore_checksum {
|
||||
checksum_got = this.checksum.update(x:in.dst.since_mark())
|
||||
checksum_got = this.checksum.update!(x:in.dst.since_mark())
|
||||
}
|
||||
if z.is_ok() {
|
||||
break
|
||||
|
||||
Reference in new issue
Block a user