Skip to content

Commit

Permalink
Update XrdSciTokensAccess.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
biozit committed Dec 13, 2022
1 parent 280c9e7 commit 5766bb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/XrdSciTokens/XrdSciTokensAccess.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ class XrdAccSciTokens : public XrdAccAuthorize, public XrdSciTokensHelper

// prevent two identical issuers break the config
char* issuer_c = const_cast<char*>(issuer.c_str());
char* issuer_first = index(issuer_c,'\n');
char* issuer_first = rindex(issuer_c,'\n');
if (issuer_first)
{
issuer_first++;
Expand Down Expand Up @@ -1114,7 +1114,7 @@ class XrdAccSciTokens : public XrdAccAuthorize, public XrdSciTokensHelper
}

char* base_path_c = const_cast<char*>(base_path.c_str());
char* base_path_first = index(base_path_c,'\n');
char* base_path_first = rindex(base_path_c,'\n');
if (base_path_first)
{
base_path_first++;
Expand Down

0 comments on commit 5766bb6

Please sign in to comment.