Skip to content

Commit

Permalink
Reset m_digests every time it encounters xrootd.chksum config
Browse files Browse the repository at this point in the history
  • Loading branch information
djw8605 committed Sep 22, 2021
1 parent 60ca188 commit aa4bca9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/MultiuserFileSystem.cc
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ MultiuserFileSystem::Config(XrdSysLogger *lp, const char *configfn)
}
}
if (!strcmp("xrootd.chksum", val)) {
m_digests = 0;
val = Config.GetWord();
while (val) {
if (!strcmp("md5", val)) {
Expand Down Expand Up @@ -388,4 +389,4 @@ int MultiuserFileSystem::Lfn2Pfn(const char *Path, char *buff, int blen)
const char *MultiuserFileSystem::Lfn2Pfn(const char *Path, char *buff, int blen, int &rc)
{
return m_oss->Lfn2Pfn(Path, buff, blen, rc);
}
}

0 comments on commit aa4bca9

Please sign in to comment.