do not insert a null char into the std::string when serializing llsd notation

master
Oz Linden 2017-03-09 11:32:06 -05:00
parent d2257711c5
commit 8dff769dc9
1 changed files with 0 additions and 3 deletions

View File

@ -196,10 +196,7 @@ char* ll_pretty_print_sd(const LLSD& sd)
std::string ll_stream_notation_sd(const LLSD& sd)
{
std::ostringstream stream;
//stream.rdbuf()->pubsetbuf(buffer, bufferSize);
stream << LLSDOStreamer<LLSDNotationFormatter>(sd);
stream << std::ends;
return stream.str();
}