In `XrdClXRootDResponses.hh`, method `XRootDStatus::ToStr()` : The `std::string` returned by this method includes an extra NULL character at the end. This causes problems with code such as the following: ``` os << status.ToStr() << " code:" << status.code << " errNo:" << status.errNo << " status:" << status.status; ``` which gives output: ``` [ERROR] Server responded with an error: [3007] Unable to read file - wrong file checksum fn= /fst/00000000/0000003e; input/output error\u0000\n code:400 errNo:3007 status:1 ``` (note the extra `\u0000` after "input/output error", which causes the output to be truncated). Please remove this unwanted NULL from the end of `ToStr()`, thanks! -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/issues/1416 ######################################################################## 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