Skip to content

Commit

Permalink
[XrdCl] Accept roots/xroots when doing TPC.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Mar 2, 2020
1 parent 5637ef8 commit 74d5d49
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/XrdCl/XrdClThirdPartyCopyJob.cc
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,10 @@ namespace XrdCl
"is possible", source.GetURL().c_str(),
target.GetURL().c_str() );

if( target.GetProtocol() != "root" &&
target.GetProtocol() != "xroot" )
if( target.GetProtocol() != "root" &&
target.GetProtocol() != "xroot" &&
target.GetProtocol() != "roots" &&
target.GetProtocol() != "xroots" )
return XRootDStatus( stError, errNotSupported, 0, "Third-party-copy "
"is only supported for root/xroot protocol." );

Expand Down

0 comments on commit 74d5d49

Please sign in to comment.