Skip to content

Commit

Permalink
[XrdCl] Fix vanilla rhel6 compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Jun 21, 2019
1 parent f20c564 commit f3ff6c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdCl/XrdClLocalFileHandler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ namespace XrdCl
size_t len = strlen( body );
if( len > bodylen ) return XRootDStatus( stError, errDataError );
std::string name( body, len );
attrs.push_back( std::make_tuple( name, "" ) );
attrs.push_back( std::make_tuple( name, std::string() ) );
body += len + 1; // +1 for the null terminating the string
bodylen -= len + 1; // +1 for the null terminating the string
}
Expand Down

0 comments on commit f3ff6c7

Please sign in to comment.