diff options
author | Oz Linden <oz@lindenlab.com> | 2017-03-09 11:32:06 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2017-03-09 11:32:06 -0500 |
commit | 8dff769dc9d899d884b926cd552bdff5e132d73b (patch) | |
tree | d361e120aab6d5156728d0406ef4fe2a4fec6e15 /indra/llcommon | |
parent | d2257711c58654f6ab75c5b2b733302a8aa56d07 (diff) |
do not insert a null char into the std::string when serializing llsd notation
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/llsdutil.cpp | 3 |
1 files changed, 0 insertions, 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<LLSDNotationFormatter>(sd); - stream << std::ends; - return stream.str(); } |