From 8dff769dc9d899d884b926cd552bdff5e132d73b Mon Sep 17 00:00:00 2001 From: Oz Linden Date: Thu, 9 Mar 2017 11:32:06 -0500 Subject: do not insert a null char into the std::string when serializing llsd notation --- indra/llcommon/llsdutil.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/indra/llcommon/llsdutil.cpp b/indra/llcommon/llsdutil.cpp index 8ccd915e6d..9d00395c0a 100644 --- a/indra/llcommon/llsdutil.cpp +++ b/indra/llcommon/llsdutil.cpp @@ -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(sd); - stream << std::ends; - return stream.str(); } -- cgit v1.2.3