Skip to content

Commit

Permalink
Fix removing file from CBT
Browse files Browse the repository at this point in the history
  • Loading branch information
uroni committed Oct 18, 2020
1 parent 97eccd2 commit 727832d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions urbackupclient/client.cpp
Expand Up @@ -6396,6 +6396,8 @@ bool IndexThread::addFileToCbt(const std::string& fpath, const DWORD& blocksize
std::vector<IFsFile::SFileExtent> exts = hive_file->getFileExtents(offset, blocksize, more_exts);
for (size_t j = 0; j < exts.size(); ++j)
{
offset = (std::max)(offset, exts[j].offset + exts[j].size);

if (exts[j].volume_offset < 0)
continue;

Expand Down

0 comments on commit 727832d

Please sign in to comment.