Merge pull request #1007 from Exiv2/fix_910_remote_io_block+1
fix_910_remote_io_block+1
This commit is contained in:
commit
8ffb59cfd4
@ -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…
Reference in New Issue
Block a user