From 8dff769dc9d899d884b926cd552bdff5e132d73b Mon Sep 17 00:00:00 2001
From: Oz Linden <oz@lindenlab.com>
Date: Thu, 9 Mar 2017 11:32:06 -0500
Subject: [PATCH] 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 8ccd915e6d9..9d00395c0ab 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();
 }
 
-- 
GitLab