Merge pull request #1007 from Exiv2/fix_910_remote_io_block+1

fix_910_remote_io_block+1
v0.27.3
Luis Díaz Más 6 years ago committed by GitHub
commit 8ffb59cfd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1896,7 +1896,7 @@ namespace Exiv2 {
return EOF;
}
size_t expectedBlock = (p_->idx_ + 1)/p_->blockSize_;
size_t expectedBlock = p_->idx_/p_->blockSize_;
// connect to the remote machine & populate the blocks just in time.
p_->populateBlocks(expectedBlock, expectedBlock);

Loading…
Cancel
Save