From 7931cac194944518047dac73a6c01c20aa7b3a18 Mon Sep 17 00:00:00 2001 From: Graham Madarasz Date: Thu, 30 May 2013 06:39:43 -0700 Subject: MATBUG-126 BUG-2707 speculative fix for login crasher based on stack from Kat --- indra/llmessage/llareslistener.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'indra/llmessage/llareslistener.cpp') diff --git a/indra/llmessage/llareslistener.cpp b/indra/llmessage/llareslistener.cpp index 58b8a05a9e..0a4effac19 100755 --- a/indra/llmessage/llareslistener.cpp +++ b/indra/llmessage/llareslistener.cpp @@ -93,5 +93,12 @@ private: void LLAresListener::rewriteURI(const LLSD& data) { - mAres->rewriteURI(data["uri"], new UriRewriteResponder(data)); + if (mAres) + { + mAres->rewriteURI(data["uri"], new UriRewriteResponder(data)); + } + else + { + llinfos << "LLAresListener::rewriteURI requested without Ares present. Ignoring: " << data << llendl; + } } -- cgit v1.2.3