fix_910_remote_io_block+1

This commit is contained in:
Robin Mills 2019-09-26 07:56:06 +01:00 committed by Luis Diaz
parent c02b799fe0
commit 4852bd2ab2

View File

@ -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);