Skip to content
Snippets Groups Projects
Commit f851d453 authored by andreykproductengine's avatar andreykproductengine
Browse files

MAINT-5269 FIXED Viewer crashes if you open Help -> About Second Life while a...

MAINT-5269 FIXED Viewer crashes if you open Help -> About Second Life while a group member list is loading.
parent ec3c0c4a
No related branches found
No related tags found
No related merge requests found
...@@ -289,15 +289,11 @@ void LLServerReleaseNotesURLFetcher::httpCompleted() ...@@ -289,15 +289,11 @@ void LLServerReleaseNotesURLFetcher::httpCompleted()
LL_DEBUGS("ServerReleaseNotes") << dumpResponse() LL_DEBUGS("ServerReleaseNotes") << dumpResponse()
<< " [headers:" << getResponseHeaders() << "]" << LL_ENDL; << " [headers:" << getResponseHeaders() << "]" << LL_ENDL;
LLFloaterAbout* floater_about = LLFloaterReg::getTypedInstance<LLFloaterAbout>("sl_about"); std::string location = getResponseHeader(HTTP_IN_HEADER_LOCATION);
if (floater_about) if (location.empty())
{ {
std::string location = getResponseHeader(HTTP_IN_HEADER_LOCATION); location = LLTrans::getString("ErrorFetchingServerReleaseNotesURL");
if (location.empty())
{
location = LLTrans::getString("ErrorFetchingServerReleaseNotesURL");
}
LLAppViewer::instance()->setServerReleaseNotesURL(location);
} }
LLAppViewer::instance()->setServerReleaseNotesURL(location);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment