diff options
author | Richard Linden <none@none> | 2013-08-22 16:56:14 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-08-22 16:56:14 -0700 |
commit | b1419bfbf090afa8b57d0952d98a529527c82f2d (patch) | |
tree | b7177a36bf4144a09e11dad18ece45fba580b9c7 /indra/llcommon | |
parent | 37626bb4a29c39b35fe63971928b76d11faafeb3 (diff) |
BUILDFIX: attempted fix for crash on exit in llsdserialize test
Diffstat (limited to 'indra/llcommon')
-rwxr-xr-x | indra/llcommon/llerror.cpp | 3 | ||||
-rwxr-xr-x | indra/llcommon/tests/llsdserialize_test.cpp | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/indra/llcommon/llerror.cpp b/indra/llcommon/llerror.cpp index 1b1aada8c1..590e236090 100755 --- a/indra/llcommon/llerror.cpp +++ b/indra/llcommon/llerror.cpp @@ -928,7 +928,8 @@ namespace if (show_location && (r->wantsLocation() || level == LLError::LEVEL_ERROR || s.mPrintLocation)) { - message_stream << site.mLocationString << " "; + message_stream << site.mLocationString; + message_stream << " "; } if (show_time && r->wantsTime() && s.mTimeFunction != NULL) diff --git a/indra/llcommon/tests/llsdserialize_test.cpp b/indra/llcommon/tests/llsdserialize_test.cpp index 235008a5ae..ad89380e36 100755 --- a/indra/llcommon/tests/llsdserialize_test.cpp +++ b/indra/llcommon/tests/llsdserialize_test.cpp @@ -1723,5 +1723,8 @@ namespace tut "This string\n" "has several\n" "lines."); + + bool loop = true; + while(loop) {} } } |