aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/llsdserialize_xml.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llcommon/llsdserialize_xml.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/linden/indra/llcommon/llsdserialize_xml.cpp b/linden/indra/llcommon/llsdserialize_xml.cpp
index 892f454..bb36fa7 100644
--- a/linden/indra/llcommon/llsdserialize_xml.cpp
+++ b/linden/indra/llcommon/llsdserialize_xml.cpp
@@ -190,6 +190,7 @@ S32 LLSDXMLFormatter::format_impl(const LLSD& data, std::ostream& ostr, U32 opti
190 else 190 else
191 { 191 {
192 // *FIX: memory inefficient. 192 // *FIX: memory inefficient.
193 // *TODO: convert to use LLBase64
193 ostr << pre << "<binary encoding=\"base64\">"; 194 ostr << pre << "<binary encoding=\"base64\">";
194 int b64_buffer_length = apr_base64_encode_len(buffer.size()); 195 int b64_buffer_length = apr_base64_encode_len(buffer.size());
195 char* b64_buffer = new char[b64_buffer_length]; 196 char* b64_buffer = new char[b64_buffer_length];