Skip to content

Commit

Permalink
Fixes V1 and V2 compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alja MRak-Tadel committed Oct 28, 2016
1 parent 0c98127 commit 4c7924b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/XrdFileCache/XrdFileCacheInfo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,7 @@ bool Info::ReadV1(XrdOssDF* fp, const std::string &fname)


m_complete = ! IsAnythingEmptyInRng(0, m_sizeInBits);

if (r.Read(m_store.m_accessCnt, false)) m_store.m_accessCnt = 0; // was: return false;
if (r.ReadRaw(&m_store.m_accessCnt, sizeof(int), false)) m_store.m_accessCnt = 0; // was: return false;
TRACE(Dump, trace_pfx << " complete "<< m_complete << " access_cnt " << m_store.m_accessCnt);


Expand Down

0 comments on commit 4c7924b

Please sign in to comment.