Skip to content

Commit

Permalink
[Server] Correct the fh returned when reusing a handle from external …
Browse files Browse the repository at this point in the history
…table
  • Loading branch information
smithdh authored and amadio committed Apr 17, 2023
1 parent 081f233 commit 51c0f5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/XrdXrootd/XrdXrootdFile.cc
Expand Up @@ -218,6 +218,7 @@ int XrdXrootdFileTable::Add(XrdXrootdFile *fp)
else {i -= XRD_FTABSIZE;
if (XTab && i < XTnum) fP = &XTab[i];
else fP = 0;
i += XRD_FTABSIZE;
}
if (fP && *fP == heldSpotP)
{*fP = fp;
Expand Down

0 comments on commit 51c0f5b

Please sign in to comment.