summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorbrad kittenbrink <brad@lindenlab.com>2009-07-30 19:05:04 -0700
committerbrad kittenbrink <brad@lindenlab.com>2009-07-30 19:05:04 -0700
commit8d35bf28a0ddb0992bf2d87f45494f0724b7df64 (patch)
tree3980a62fcb4f62075a2a4dd6b6a43fba21dbe701 /indra/newview
parent43cbfeb772f97fe616be6492fd1e51eaed948e02 (diff)
DEV-36893 make missing eventhost module a non-fatal error. We now print a warning and fail gracefully.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llappviewer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 1c3c79db3d..5a1ccb2047 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -4125,6 +4125,12 @@ void LLAppViewer::loadEventHostModule(S32 listen_port)
gDirUtilp->getAppRODataDir(),
gDirUtilp->getExecutableDir());
+ if(dso_path == "")
+ {
+ llwarns << "QAModeEventHost requested but module \"" << dso_name << "\" not found!" << llendl;
+ return;
+ }
+
apr_dso_handle_t * eventhost_dso_handle = NULL;
apr_pool_t * eventhost_dso_memory_pool = NULL;