Skip to content

Commit

Permalink
Fix error from the previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
alja authored and osschar committed Mar 9, 2016
1 parent 8358a75 commit 7eefc7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/XrdFileCache/XrdFileCacheFile.cc
Expand Up @@ -506,8 +506,10 @@ int File::Read(char* iUserBuff, long long iUserOff, int iUserSize)
clLog()->Dump(XrdCl::AppMsg, "File::Read() u=%p inc_ref_count new %d %s", (void*)iUserBuff, block_idx, lPath());
Block *b = RequestBlock(block_idx, false);
// assert(b);
if (!b) {
preProcOK = false;
break;
}
inc_ref_count(b);
blks_to_process.push_back(b);
m_stats.m_BytesRam++;
Expand Down

0 comments on commit 7eefc7b

Please sign in to comment.