summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon')
-rwxr-xr-xindra/llcommon/llapp.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llcommon/llapp.cpp b/indra/llcommon/llapp.cpp
index 3312f6e3b0..cb06a6a8da 100755
--- a/indra/llcommon/llapp.cpp
+++ b/indra/llcommon/llapp.cpp
@@ -339,7 +339,8 @@ void LLApp::setupErrorHandling()
{
llwarns << "adding breakpad exception handler" << llendl;
- const std::wstring wpipe_name(wstringize(getPid());
+ const std::wstring wpipe_name(wstringize(getPid()));
+ const std::string pipe_name(stringize(wpipe_name));
::Sleep(3000); //HACK hopefully a static wait won't blow up in my face before google fixes their implementation.
@@ -353,7 +354,7 @@ void LLApp::setupErrorHandling()
0,
google_breakpad::ExceptionHandler::HANDLER_ALL,
MiniDumpNormal, //Generate a 'normal' minidump.
- stringize(wpipe_name).c_str(),
+ pipe_name.c_str(),
NULL); //No custom client info.
if (mExceptionHandler)
{