generated from PlexSheep/baserepo
hedu data_idx offset fix
cargo devel CI / cargo CI (push) Successful in 2m13s
Details
cargo devel CI / cargo CI (push) Successful in 2m13s
Details
fixes #56
This commit is contained in:
parent
714db3a9e6
commit
6d5171357b
|
@ -16,8 +16,8 @@ authors = ["Christoph J. Scherr <software@cscherr.de>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
description = "Personal multitool"
|
description = "Personal multitool"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
homepage = "https://git.cscherr.de/PlexSheep/libpt"
|
homepage = "https://git.cscherr.de/PlexSheep/pt"
|
||||||
repository = "https://git.cscherr.de/PlexSheep/libpt"
|
repository = "https://git.cscherr.de/PlexSheep/pt"
|
||||||
keywords = ["cli", "library"]
|
keywords = ["cli", "library"]
|
||||||
categories = [
|
categories = [
|
||||||
"command-line-utilities",
|
"command-line-utilities",
|
||||||
|
|
|
@ -69,6 +69,7 @@ pub fn dump(data: &mut dyn DataSource, mut config: HeduConfig) -> Result<()> {
|
||||||
if config.skip > 0 {
|
if config.skip > 0 {
|
||||||
data.skip(config.skip)?;
|
data.skip(config.skip)?;
|
||||||
config.data_idx += config.skip;
|
config.data_idx += config.skip;
|
||||||
|
config.data_idx += BYTES_PER_LINE - config.data_idx % BYTES_PER_LINE;
|
||||||
debug!("Skipped {}", humanbytes(config.skip));
|
debug!("Skipped {}", humanbytes(config.skip));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue