diff options
author | McCabe Maxsted | 2010-04-10 13:45:12 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-04-10 15:21:52 -0700 |
commit | bf8239a589b075248fcf60f94e30573748acfcfb (patch) | |
tree | bce40de97191c7e472ec159754e036a613163b9e /linden/indra/newview/llxmlrpctransaction.cpp | |
parent | Removed some duplicate includes I've come across (diff) | |
download | meta-impy-bf8239a589b075248fcf60f94e30573748acfcfb.zip meta-impy-bf8239a589b075248fcf60f94e30573748acfcfb.tar.gz meta-impy-bf8239a589b075248fcf60f94e30573748acfcfb.tar.bz2 meta-impy-bf8239a589b075248fcf60f94e30573748acfcfb.tar.xz |
Removed hardcoded references to Second Life when unable to connect to a region
Diffstat (limited to 'linden/indra/newview/llxmlrpctransaction.cpp')
-rw-r--r-- | linden/indra/newview/llxmlrpctransaction.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/linden/indra/newview/llxmlrpctransaction.cpp b/linden/indra/newview/llxmlrpctransaction.cpp index a2fd0f0..400cd75 100644 --- a/linden/indra/newview/llxmlrpctransaction.cpp +++ b/linden/indra/newview/llxmlrpctransaction.cpp | |||
@@ -35,6 +35,7 @@ | |||
35 | #include "llxmlrpctransaction.h" | 35 | #include "llxmlrpctransaction.h" |
36 | 36 | ||
37 | #include "llcurl.h" | 37 | #include "llcurl.h" |
38 | #include "hippoGridManager.h" | ||
38 | #include "llviewercontrol.h" | 39 | #include "llviewercontrol.h" |
39 | 40 | ||
40 | // Have to include these last to avoid queue redefinition! | 41 | // Have to include these last to avoid queue redefinition! |
@@ -415,13 +416,15 @@ void LLXMLRPCTransaction::Impl::setStatus(Status status, | |||
415 | default: | 416 | default: |
416 | // 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, |
417 | // 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() | ||
420 | // but apparently that's broken as of 1.3 b2 -- MC | ||
418 | mStatusMessage = | 421 | mStatusMessage = |
419 | "Despite our best efforts, something unexpected has gone wrong. \n" | 422 | "Despite our best efforts, something unexpected has gone wrong. \n" |
420 | " \n" | 423 | " \n" |
421 | "Please check secondlife.com/status \n" | 424 | "Please check " + gHippoGridManager->getCurrentGrid()->getGridNick() + "'s status \n" |
422 | "to see if there is a known problem with the service."; | 425 | "to see if there is a known problem with the service."; |
423 | 426 | ||
424 | mStatusURI = "http://secondlife.com/status/"; | 427 | //mStatusURI = "http://secondlife.com/status/"; |
425 | } | 428 | } |
426 | } | 429 | } |
427 | } | 430 | } |
@@ -436,7 +439,7 @@ void LLXMLRPCTransaction::Impl::setCurlStatus(CURLcode code) | |||
436 | case CURLE_COULDNT_RESOLVE_HOST: | 439 | case CURLE_COULDNT_RESOLVE_HOST: |
437 | message = | 440 | message = |
438 | "DNS could not resolve the host name.\n" | 441 | "DNS could not resolve the host name.\n" |
439 | "Please verify that you can connect to the www.secondlife.com\n" | 442 | "Please verify that you can connect to " + gHippoGridManager->getCurrentGrid()->getGridNick() + "'s\n" |
440 | "web site. If you can, but continue to receive this error,\n" | 443 | "web site. If you can, but continue to receive this error,\n" |
441 | "please go to the support section and report this problem."; | 444 | "please go to the support section and report this problem."; |
442 | break; | 445 | break; |
@@ -445,7 +448,7 @@ void LLXMLRPCTransaction::Impl::setCurlStatus(CURLcode code) | |||
445 | message = | 448 | message = |
446 | "The login server couldn't verify itself via SSL.\n" | 449 | "The login server couldn't verify itself via SSL.\n" |
447 | "If you continue to receive this error, please go\n" | 450 | "If you continue to receive this error, please go\n" |
448 | "to the Support section of the SecondLife.com web site\n" | 451 | "to the Support section of " + gHippoGridManager->getCurrentGrid()->getGridNick() + "'s web site\n" |
449 | "and report the problem."; | 452 | "and report the problem."; |
450 | break; | 453 | break; |
451 | 454 | ||
@@ -457,7 +460,7 @@ void LLXMLRPCTransaction::Impl::setCurlStatus(CURLcode code) | |||
457 | "are set correctly.\n" | 460 | "are set correctly.\n" |
458 | "\n" | 461 | "\n" |
459 | "If you continue to receive this error, please go\n" | 462 | "If you continue to receive this error, please go\n" |
460 | "to the Support section of the SecondLife.com web site\n" | 463 | "to the Support section of " + gHippoGridManager->getCurrentGrid()->getGridNick() + "'s web site\n" |
461 | "and report the problem."; | 464 | "and report the problem."; |
462 | break; | 465 | break; |
463 | 466 | ||