diff options
author | Dave Parks <davep@lindenlab.com> | 2011-05-25 18:45:41 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-05-25 18:45:41 -0500 |
commit | 9b3a9beb40885aca65abb6363a8d7897fae4269c (patch) | |
tree | d9b9b35d07b601840e8b99bce25a5a0a9d0fa6da /indra/llcommon | |
parent | 7cf1d0714bbdce1e7e7f88e12607e28a2f441e91 (diff) | |
parent | 3a409e6edc95ddee8ea0ff88f8388a8aa840d871 (diff) |
merge
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/llsdserialize.cpp | 4 | ||||
-rw-r--r-- | indra/llcommon/llstat.cpp | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/indra/llcommon/llsdserialize.cpp b/indra/llcommon/llsdserialize.cpp index 5be5ecc492..bf62600514 100644 --- a/indra/llcommon/llsdserialize.cpp +++ b/indra/llcommon/llsdserialize.cpp @@ -2036,7 +2036,9 @@ std::string zip_llsd(LLSD& data) { //copy result into output if (strm.avail_out >= CHUNK) { - llerrs << "WTF?" << llendl; + free(output); + llwarns << "Failed to compress LLSD block." << llendl; + return std::string(); } have = CHUNK-strm.avail_out; diff --git a/indra/llcommon/llstat.cpp b/indra/llcommon/llstat.cpp index 8ba97d7730..b2c495d093 100644 --- a/indra/llcommon/llstat.cpp +++ b/indra/llcommon/llstat.cpp @@ -737,7 +737,7 @@ void LLPerfBlock::addStatsToLLSDandReset( LLSD & stats, } } else - { // WTF? Shouldn't have a NULL pointer in the map. + { // Shouldn't have a NULL pointer in the map. llwarns << "Unexpected NULL dynamic stat at '" << stats_full_path << "'" << llendl; } } |