aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-04-25 22:11:20 -0700
committerMcCabe Maxsted2010-04-25 22:12:20 -0700
commitbca56ffbe2c2ad89b6164bcd5e42688a608a35b5 (patch)
tree76f6e28411234d046afecd6666ed1148a9497e5e /linden
parentAdded checkbox for broadcasting client tag to Preferences > Advanced (and fix... (diff)
downloadmeta-impy-bca56ffbe2c2ad89b6164bcd5e42688a608a35b5.zip
meta-impy-bca56ffbe2c2ad89b6164bcd5e42688a608a35b5.tar.gz
meta-impy-bca56ffbe2c2ad89b6164bcd5e42688a608a35b5.tar.bz2
meta-impy-bca56ffbe2c2ad89b6164bcd5e42688a608a35b5.tar.xz
Removed hardcoded references to secondlife.com/support
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/newview/llappviewer.cpp10
-rw-r--r--linden/indra/newview/llassetuploadresponders.cpp3
-rw-r--r--linden/indra/newview/llxmlrpctransaction.cpp4
3 files changed, 11 insertions, 6 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp
index a0700a9..e55d4ab 100644
--- a/linden/indra/newview/llappviewer.cpp
+++ b/linden/indra/newview/llappviewer.cpp
@@ -3161,6 +3161,12 @@ void LLAppViewer::badNetworkHandler()
3161 LLAppViewer::handleSyncViewerCrash(); 3161 LLAppViewer::handleSyncViewerCrash();
3162 LLAppViewer::handleViewerCrash(); 3162 LLAppViewer::handleViewerCrash();
3163 3163
3164 std::string grid_support_msg = "";
3165 if (!gHippoGridManager->getCurrentGrid()->getSupportUrl().empty())
3166 {
3167 grid_support_msg = "\n\nOr visit the gird support page at: \n "
3168 + gHippoGridManager->getCurrentGrid()->getSupportUrl();
3169 }
3164 std::ostringstream message; 3170 std::ostringstream message;
3165 message << 3171 message <<
3166 "The viewer has detected mangled network data indicative\n" 3172 "The viewer has detected mangled network data indicative\n"
@@ -3170,8 +3176,8 @@ void LLAppViewer::badNetworkHandler()
3170 "Try uninstalling and reinstalling to see if this resolves \n" 3176 "Try uninstalling and reinstalling to see if this resolves \n"
3171 "the issue. \n" 3177 "the issue. \n"
3172 " \n" 3178 " \n"
3173 "If the problem continues, see the Tech Support FAQ at: \n" 3179 "If the problem continues, please report the issue at: \n"
3174 "www.secondlife.com/support"; 3180 "www.imprudenceviewer.org" << grid_support_msg;
3175 forceDisconnect(message.str()); 3181 forceDisconnect(message.str());
3176} 3182}
3177 3183
diff --git a/linden/indra/newview/llassetuploadresponders.cpp b/linden/indra/newview/llassetuploadresponders.cpp
index 700edb5..001d2e9 100644
--- a/linden/indra/newview/llassetuploadresponders.cpp
+++ b/linden/indra/newview/llassetuploadresponders.cpp
@@ -114,8 +114,7 @@ void LLAssetUploadResponder::error(U32 statusNum, const std::string& reason)
114 { 114 {
115 case 400: 115 case 400:
116 args["FILE"] = (mFileName.empty() ? mVFileID.asString() : mFileName); 116 args["FILE"] = (mFileName.empty() ? mVFileID.asString() : mFileName);
117 args["REASON"] = "Error in upload request. Please visit " 117 args["REASON"] = "Error in upload request.";
118 "http://secondlife.com/support for help fixing this problem.";
119 LLNotifications::instance().add("CannotUploadReason", args); 118 LLNotifications::instance().add("CannotUploadReason", args);
120 break; 119 break;
121 case 500: 120 case 500:
diff --git a/linden/indra/newview/llxmlrpctransaction.cpp b/linden/indra/newview/llxmlrpctransaction.cpp
index 400cd75..b993c99 100644
--- a/linden/indra/newview/llxmlrpctransaction.cpp
+++ b/linden/indra/newview/llxmlrpctransaction.cpp
@@ -416,7 +416,7 @@ void LLXMLRPCTransaction::Impl::setStatus(Status status,
416 default: 416 default:
417 // Usually this means that there's a problem with the login server, 417 // Usually this means that there's a problem with the login server,
418 // not with the client. Direct user to status page. 418 // not with the client. Direct user to status page.
419 // NOTE: these should really be gHippoGridManager->getCurrentGrid()->getGridNick() 419 // NOTE: these should really be gHippoGridManager->getCurrentGrid()->getGridName()
420 // but apparently that's broken as of 1.3 b2 -- MC 420 // but apparently that's broken as of 1.3 b2 -- MC
421 mStatusMessage = 421 mStatusMessage =
422 "Despite our best efforts, something unexpected has gone wrong. \n" 422 "Despite our best efforts, something unexpected has gone wrong. \n"
@@ -432,7 +432,7 @@ void LLXMLRPCTransaction::Impl::setStatus(Status status,
432void LLXMLRPCTransaction::Impl::setCurlStatus(CURLcode code) 432void LLXMLRPCTransaction::Impl::setCurlStatus(CURLcode code)
433{ 433{
434 std::string message; 434 std::string message;
435 std::string uri = "http://secondlife.com/community/support.php"; 435 std::string uri = gHippoGridManager->getCurrentGrid()->getSupportUrl();
436 436
437 switch (code) 437 switch (code)
438 { 438 {