summaryrefslogtreecommitdiff
path: root/indra/mac_crash_logger/llcrashloggermac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/mac_crash_logger/llcrashloggermac.cpp')
-rw-r--r--indra/mac_crash_logger/llcrashloggermac.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/indra/mac_crash_logger/llcrashloggermac.cpp b/indra/mac_crash_logger/llcrashloggermac.cpp
index 64064d9cee..c5f660ca6e 100644
--- a/indra/mac_crash_logger/llcrashloggermac.cpp
+++ b/indra/mac_crash_logger/llcrashloggermac.cpp
@@ -66,32 +66,23 @@ void LLCrashLoggerMac::gatherPlatformSpecificFiles()
bool LLCrashLoggerMac::mainLoop()
{
- std::ofstream wlog;
- wlog.open("/Users/samantha/crashlogging1.txt");
- wlog << "SPATTERS mainloop.!\n";
-
if (mCrashBehavior == CRASH_BEHAVIOR_ALWAYS_SEND)
{
- wlog << "sending\n";
gSendReport = true;
}
if(gRememberChoice)
{
- wlog << "momento\n";
if(gSendReport) saveCrashBehaviorSetting(CRASH_BEHAVIOR_ALWAYS_SEND);
else saveCrashBehaviorSetting(CRASH_BEHAVIOR_NEVER_SEND);
}
if(gSendReport)
{
- wlog << "Send report!";
setUserText(gUserNotes);
sendCrashLogs();
}
-
- wlog.close();
-
+
return true;
}