Skip to content
Snippets Groups Projects
Unverified Commit c5013e6f authored by Guilherme Amadio's avatar Guilherme Amadio
Browse files

Replace XrdSecEntity::Reset() with assignment to default object

XrdSecEntity::Reset() is only available in newer versions of XRootD.

ROOT-9595 #close
parent bf6b17e5
No related branches found
No related tags found
No related merge requests found
......@@ -524,7 +524,7 @@ void XrdProofdProtocol::Reset()
fAuthProt->Delete();
fAuthProt = 0;
}
fSecEntity.Reset();
fSecEntity = XrdSecEntity();
// Cleanup existing XrdProofdResponse objects
std::vector<XrdProofdResponse *>::iterator ii = fResponses.begin(); // One per each logical connection
while (ii != fResponses.end()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment