aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llstartup.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llstartup.cpp15
1 files changed, 11 insertions, 4 deletions
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp
index d018eaa..cb819df 100644
--- a/linden/indra/newview/llstartup.cpp
+++ b/linden/indra/newview/llstartup.cpp
@@ -431,9 +431,11 @@ bool idle_startup()
431 // Load the throttle settings 431 // Load the throttle settings
432 gViewerThrottle.load(); 432 gViewerThrottle.load();
433 433
434 if (ll_init_ares() == NULL) 434 if (ll_init_ares() == NULL || !gAres->isInitialized())
435 { 435 {
436 LL_ERRS("AppInit") << "Could not start address resolution system" << LL_ENDL; 436 LL_WARNS("AppInit") << "Could not start address resolution system" << LL_ENDL;
437 std::string msg = LLTrans::getString("LoginFailedNoNetwork");
438 LLAppViewer::instance()->earlyExit(msg);
437 } 439 }
438 440
439 // 441 //
@@ -479,7 +481,8 @@ bool idle_startup()
479 FALSE, 481 FALSE,
480 std::string())) 482 std::string()))
481 { 483 {
482 std::string msg = llformat("Unable to start networking, error %d", gMessageSystem->getErrorCode()); 484 std::string msg = LLTrans::getString("LoginFailedNoNetwork");
485 msg.append(llformat(" Error: %d", gMessageSystem->getErrorCode()));
483 LLAppViewer::instance()->earlyExit(msg); 486 LLAppViewer::instance()->earlyExit(msg);
484 } 487 }
485 488
@@ -567,6 +570,8 @@ bool idle_startup()
567 } 570 }
568 } 571 }
569 572
573 LL_INFOS("AppInit") << "Message System Initialized." << LL_ENDL;
574
570 //------------------------------------------------- 575 //-------------------------------------------------
571 // Init audio, which may be needed for prefs dialog 576 // Init audio, which may be needed for prefs dialog
572 // or audio cues in connection UI. 577 // or audio cues in connection UI.
@@ -597,7 +602,9 @@ bool idle_startup()
597 gAudiop->setMuted(TRUE); 602 gAudiop->setMuted(TRUE);
598 } 603 }
599 } 604 }
600 605
606 LL_INFOS("AppInit") << "Audio Engine Initialized." << LL_ENDL;
607
601 if (LLTimer::knownBadTimer()) 608 if (LLTimer::knownBadTimer())
602 { 609 {
603 LL_WARNS("AppInit") << "Unreliable timers detected (may be bad PCI chipset)!!" << LL_ENDL; 610 LL_WARNS("AppInit") << "Unreliable timers detected (may be bad PCI chipset)!!" << LL_ENDL;