Skip to content

Commit

Permalink
Error message
Browse files Browse the repository at this point in the history
Co-authored-by: cheme <emericchevalier.pro@gmail.com>
  • Loading branch information
arkpar and cheme authored Oct 6, 2022
1 parent 3ecd8e8 commit f293dfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ impl ValueTable {
if buf.offset() > entry_end {
return Err(crate::error::Error::Corruption(format!(
"Unexpected entry size. Expected at least {} bytes",
entry_end
buf.offset() - 2
)))
}

Expand Down

0 comments on commit f293dfc

Please sign in to comment.