From 1d7d760b3dc3c351082985fffe0a018108f6a3e9 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Tue, 21 Feb 2012 03:54:42 +1000 Subject: Comment out part of b7dcec410daa68b70597758930f015a7f631f388 "Fixed tons of 'LLXMLTree invalid token' warnings spamming the log and made the warnings we show less confusing", it made other sims vanish. --- linden/indra/llcommon/llsdserialize_xml.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'linden/indra') diff --git a/linden/indra/llcommon/llsdserialize_xml.cpp b/linden/indra/llcommon/llsdserialize_xml.cpp index 3545309..7729a5f 100644 --- a/linden/indra/llcommon/llsdserialize_xml.cpp +++ b/linden/indra/llcommon/llsdserialize_xml.cpp @@ -394,13 +394,13 @@ S32 LLSDXMLParser::Impl::parse(std::istream& input, LLSD& data) if (status == XML_STATUS_ERROR) { std::string error_string(XML_ErrorString(XML_GetErrorCode( mParser ))); - if (input.gcount() == 0) - { - // nothing to do -- MC - data = LLSD(); - return LLSDParser::PARSE_FAILURE; - } - else if (error_string != "parsing aborted") // end of input +// if (input.gcount() == 0) +// { +// // nothing to do -- MC +// data = LLSD(); +// return LLSDParser::PARSE_FAILURE; +// } + /*else*/ if (error_string != "parsing aborted") // end of input { S32 line_number = XML_GetCurrentLineNumber( mParser ); // This parses LLCurl::Responder::completedRaw always, even -- cgit v1.1