summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2015-05-22 10:59:43 -0700
committerRider Linden <rider@lindenlab.com>2015-05-22 10:59:43 -0700
commitf7fa3b5f564cdba323e7ba19928e497d252892e0 (patch)
tree2af3ea5c90f1b346ec86ef47ec06220b94bbebcd /indra/llmessage
parentff121254b29ea628472faf1eda06058f06c050d1 (diff)
Floater IM Session to trivial coroutine.
Changed debugging output from core utitl to string.
Diffstat (limited to 'indra/llmessage')
-rw-r--r--indra/llmessage/llcorehttputil.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llmessage/llcorehttputil.cpp b/indra/llmessage/llcorehttputil.cpp
index 05d2e84f88..001df9e385 100644
--- a/indra/llmessage/llcorehttputil.cpp
+++ b/indra/llmessage/llcorehttputil.cpp
@@ -264,11 +264,13 @@ void HttpCoroHandler::onCompleted(LLCore::HttpHandle handle, LLCore::HttpRespons
LLCore::BufferArray *body = response->getBody();
LLCore::BufferArrayStream bas(body);
- LLSD::Binary bodyData;
+ LLSD::String bodyData;
bodyData.reserve(response->getBodySize());
bas >> std::noskipws;
bodyData.assign(std::istream_iterator<U8>(bas), std::istream_iterator<U8>());
- httpStatus["error_body"] = bodyData;
+ httpStatus["error_body"] = LLSD(bodyData);
+
+ LL_WARNS() << "Returned body=" << std::endl << httpStatus["error_body"].asString() << LL_ENDL;
}
#endif