In the XrdSecsssID::Register method we have this variable:
int hOpt = (doRep ? Hash_replace : Hash_default) | Hash_dofree;
and the following "Registry.Add" call
rc = (Registry.Add(lid, idP, hOpt) ? 0 : 1);
However, this assigns the options variable (hOpt) to the LifeTime parameter of the Registry.Add function.
In order to pass the options and keep the default LifeTime, the call should be:
rc = (Registry.Add(lid, idP, 0, (XrdOucHash_Options) hOpt) ? 0 : 1);
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1