Skip to content

Commit

Permalink
Fix error in Info initialization.
Browse files Browse the repository at this point in the history
  • Loading branch information
alja authored and abh3 committed Jun 30, 2016
1 parent 62d79be commit e21fda9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdFileCache/XrdFileCacheFile.cc
Expand Up @@ -251,7 +251,7 @@ bool File::Open()
return false;
}

if (m_cfi.Read(m_infoFile))
if (m_cfi.Read(m_infoFile) <= 0)
{
m_fileSize = m_fileSize;
int ss = (m_fileSize - 1)/m_cfi.GetBufferSize() + 1;
Expand Down

0 comments on commit e21fda9

Please sign in to comment.