In src/XrdCl/XrdClCopy.cc:

> +//------------------------------------------------------------------------------
> +XrdCl::XRootDStatus GetDirList( XrdCl::FileSystem        *fs,
> +                                XrdCl::URL                url,
> +                                std::vector<std::string> *&files,
> +                                std::vector<std::string> *&directories )
> +{
> +  using namespace XrdCl;
> +  DirectoryList *list;
> +  XRootDStatus   status;
> +  Log *log = DefaultEnv::GetLog();
> +
> +  status = fs->DirList( url.GetPath(), DirListFlags::Stat, list );
> +  if( !status.IsOK() )
> +  {
> +    log->Error( AppMsg, "Error listing directory: %s",
> +                        status.GetErrorMessage().c_str());

You should use the ::ToStr() method here


Reply to this email directly or view it on GitHub.



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